Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68850

Adding a parameter which was passed in the jenkins job

XMLWordPrintable

      I am currently using a DSL seed job where I am passing an ID value as a String parameter to the main library script.

      In the email notification step, I am trying to call that parameter in the email.template present under $JENKINS_HOME/email-templates. I need to pass the above mentioned parameter value in the URL mentioned in the email.template file. 

       

      Is there any way we can pass the value of it in the file. I actually tried ${job.name.<Parameter_name>} but its not working. 

            Unassigned Unassigned
            ajan2113 Ajay N
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: