Hi, Newbie question here...
I have installed the Managed Files Plugin https://wiki.jenkins-ci.org/display/JENKINS/Managed+Script+Plugin in order to create scripts that can be shared across Jenkins jobs. In the managed script, I'd like to leverage Jenkins Installations (e.g. where is Maven installed). For example, I'd like my script to look something like: ------------------------------- if [ $RELEASE_BUILD = "true" ] ; then $MAVEN_HOME/mvn.sh some-maven-target else echo "It is NOT a release build" fi ------------------------------ How can I get access to a variable like MAVEN_HOME? I guess a more general question is whether there are ways to make Jenkins steps optional (e.g. dependent on input parameters)? Thanks for reading this post, Bob *** *** *** This message contains information which may be confidential and privileged. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message. -- 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.