Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Problem with hudson release plugin and freestyle job
icon5.gif  Problem with hudson release plugin and freestyle job [message #1134084] Sat, 12 October 2013 08:09
James Spader is currently offline James Spader
Messages: 10
Registered: July 2013
Junior Member
Hello,

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:
release:clean
release:prepare

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

Previous Topic:how to configure hudson plugin for specfic job
Next Topic:Plugin - deploy-websphere - WebSphere 8.5
Goto Forum:
  


Current Time: Wed Oct 22 09:52:52 GMT 2014

Powered by FUDForum. Page generated in 0.07878 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software