This is my current working setup:
I want to automate these variables:
Is there a way to automate the version number in this build step? E.g. extract it from the root pom.xml?
I already tried putting ${project.version} inside the version field, but that didn't work either. Which placeholder am I required to use here, as the field is a required value and cannot be left empty?
Write ${POM_VERSION}
instead of 1.0.0
You can also use ${POM_GROUPID}
and ${POM_ARTIFACTID}
for the group
and for the id
of the project.