0

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.

Jayan
  • 18,003
  • 15
  • 89
  • 143
PaCo
  • 1
  • Hi and welcome to SO. Please add essential parts of your code. Read [how to ask](http://stackoverflow.com/help/how-to-ask) and [mcve](http://stackoverflow.com/help/mcve) for asking a better received question. – davejal Jan 29 '16 at 13:15

1 Answers1

2

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

Frank
  • 2,036
  • 1
  • 20
  • 32