I use a maven-job in Jenkins that gets the text-parameter "TAG" where the user is meant to name a new Tag that should be generated in git and be used to branch out.
I'm fairly new to programming, so I'm sorry if this is ridiculous but I tried to execute the following goals in the Build:
-Dparam1=%JOB_PARAM_1% release:clean release:prepare release:branch param1 release:perform
Unfortunately, the console tells me, that
The parameters 'branchName' for goal org.apache.maven.plugins:maven-release-plugin:2.5.3:branch are missing or invalid
(I already tried release:clean release:prepare release:branch branchName = param1
)
I'd be happy if someone could tell me where I'm going wrong, as I said: I want git to tag the new version with the parameter name and then branch out from there automatically.
Thanks in advance =)
question from:
https://stackoverflow.com/questions/65950524/specifying-a-branchname-to-release-in-jenkins-maven-job 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…