We raised pull request in Jenkins with respect to our final code changes and while creating the build number it is adding -rc and all number as a suffix.
Till 4.0.7 version it is creating build number perfectly fine but from 4.0.8 onwards, it is adding -rc
below is the release link Leapwork | Jenkins plugin
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:
The description explains why it works locally for you. Local development does not use the flag to set the changelist, (-Dset.changelist) so you won’t see it locally unless you include that argument in your Apache Maven command line.