| Problem with hudson release plugin and freestyle job [message #1134084]
||Sat, 12 October 2013 08:09
| James Spader
Registered: July 2013
I´m running free stlye jobs with deployment of artifacts to artifactory defined in maven / pom. (rest of build process is done via windows batch)
This works fine for jobs that have "maven deploy" set in a build step: With every build the artifacts are built and then deployed, no matter if snapshot or release.
With the hudson release plugin I can define additional steps to execute before and after the release build:
Before the build I have:
Also I defined two parameters, "release version" and "development version".
Now I would expect the release job to run as follows:
1 execute build steps
2 change to release version in pom
3 execute pre release steps
4 execute build steps
5 execute post build steps
6 change to development version in pom (snapshot)
7 execute build steps
However, the step 4 never gets executed. Also, if I define "deploy" in step 5, it also never gets executed.
What am I doing / thinking wrong? I just want a release build to deploy the release artifacts. (Also I want to use the release plugin for setting release and development version)
Maybe this is a problem with free style jobs (windows batch) and the release plugin?
Thank you for your help!
[Updated on: Mon, 14 October 2013 09:50]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02192 seconds