Home » Tip Bank » Enterprise
  • Email Article
  • Comment on this Article
  • Share Article
    • Digg
    • del.icio.us
    • Newvine
    • furl
    • StumbleUpon
    • BlinkList
    • Newsvine
    • Magnolia
    • Facebook
    • Tailrank
    • Slashdot
    • Technorati
    • Google Bookmarks
    • Yahoo Favorites
    • Windows Live
    • Ask
Language: Enterprise
Expertise: Beginner
Feb 1, 2017

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
Octavia Anghel
 
Submit a Tip
Browse "Enterprise" Tips
Browse All Tips
sitepoint.com
eloquentjavascript.net