Jenkins plugin release build number is adding -rc

I’ve submitted a pull request that proposes the necessary change and includes a detailed description explaining why the change is needed.

For reference, the explanation in that pull request includes:

The “Automated release” documentation includes a section that describes the automated release configuration used in this repository. The section is “Manually controlled prefix (optional)” and it includes instructions that the .mvn/maven.config file must include the line:

-Dchangelist.format=%d.v%s

The .mvn/maven.config in the repository does not include that line, so Maven is using the default value of the changelist.format.

A little earlier in that page, it includes the instructions so that a developer can check the version number pattern that they have selected. The commands to check that are:

mvn validate
mvn validate -Dset.changelist -Dignore.dirt

When I run mvn validate on this repository before this change, one of the output lines is:

[INFO] Building Leapwork 4.0.12-SNAPSHOT

When I run mvn validate -Dset.changelist -Dignore.dirt on this repository before this change, one of the output lines is:

[INFO] Building Leapwork 4.0.12-rc93.784bbceeef27

That output is because the changelist.format is not set in the .mvn/maven.config file.

After I added the changelist.format, the output is now:

[INFO] Building Leapwork 4.0.12-93.v784bbceeef27
1 Like