Ginga, Dick (2013-09-25 14:57):
Is there a build step available that can mark the current build as
Keep Forever? I have a core build job and when it builds a "Release"
build based on a parameter, I want that one to stay forever.
You could make it a spearate job and run that separate job w
Thanks! I will give this a try
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of
matthew.web...@diamond.ac.uk
Sent: Wednesday, September 25, 2013 9:35 AM
To: jenkinsci-users@googlegroups.com
Subject: RE: Setting Keep Forever
Use https://wiki.jenkins
Use https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin to
test the release parameter, conditionally run a shell script that does
something like:
java -jar /path/to/jenkins-cli.jar -s http://jenkins:8080/ keep-build
You need to sort out authentication for the jenkins-c