Skip to content

Building using temurin-build for a given commit SHA determines incorrect jdk-version #4398

@andrew-m-leonard

Description

@andrew-m-leonard

Do a temurin-build of a given commit SHA, eg:

16:43:24    BUILD_VARIANT = temurin
16:43:24    TAG = 
16:43:24    BRANCH = 91d5132596b

SHA is described (ie.nearest tag) by : jdk-21.0.11+3_adopt-393-g91d5132596b
however temurin-build determines the "latest" tag for the whole repo, not from the SHA, which ends up with:

16:43:24  getOpenJDKTag(): Determining OpenJDK tag to use for 'version'
16:43:24    getOpenJDKTag(): Determining tag from checked out repository..
16:43:24  From /home/jenkins/workspace/Grinder/aqa-tests/RWS/PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP/workspace/./build//src
16:43:24   * branch                    HEAD       -> FETCH_HEAD
16:43:24  OpenJDK repo tag is jdk-21.0.11+4

Metadata

Metadata

Assignees

No one assigned

    Labels

    jenkinsIssues that enhance or fix our jenkins servertestingIssues that enhance or fix our test suites

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions