I'm trying to use the M2 Release Plugin in a Jenkins 1.517 job with github,
but it doesn't seem to be working ...
I only want to use it to release:branch at the moment and want to give the
branchName as a parameter, I have tried it as a parameter and hard coded
(with and w/o -e):
-Dresume=false -e release:branch -DbranchName=monkey-rc2
-DupdateWorkingCopyVersions=false -DupdateBranchVersions=false
-DdryRun=false
-Dresume=false -e release:branch -DbranchName=${branchname}
-DupdateWorkingCopyVersions=false -DupdateBranchVersions=false
-DdryRun=false
but it fails to execute in my job, I have an "execute shell" right before
the m2 plugin, (e.g. echo "before m2 plugin") and that is pretty much the
last thing that happens:
Waiting for Jenkins to finish collecting data
channel stopped
[nyuCMS-test] $ /bin/sh -xe /tmp/hudson7449209946030619405.sh
+ echo 'before m2 plugin'
before m2 plugin
Finished: SUCCESS
I do see this in the jenkins.log:
(scm manipulator not settled !)
I am able to execute:
-Dresume=false -e release:branch -DbranchName=monkey-rc2
-DupdateWorkingCopyVersions=false -DupdateBranchVersions=false
-DdryRun=false
on the command line, and within the project's execute shell script
functionality, and that works, would like to use the plugin however.
The Jenkins machine has push / pull access to my git repo.
Thanks,
Bill
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.