PaCo
PaCo

Reputation: 1

Access jenkins build job paramter via shell script

My Jenkins build job is triggered via an external service by parameters that I can see in the left menu under parameters. So I want to react on that parameters via my shell script in the Jenkins job itself.

I could only find information about parameterized build but not about using that parameters I talked about.

Upvotes: 0

Views: 100

Answers (1)

Frank
Frank

Reputation: 2066

As stated here: https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build you can reference your parameter BAR as $BAR.

Upvotes: 2

Related Questions