Defining a Parameter in Jenkins

As you know, Jenkins accept parameters in different kind of projects, including pipelines. Depending on the operating system where Jenkins is running, we can refer to the parameters as follows, supposing that we have a parameter named “project”:

– If the Jenkins build is on an Windows machine:

%project%

– If the Jenkins build is on an Linux, Unix or MacOSX machine:

$project
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Related Posts