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

Job properties with Jenkins template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • pipeline
    • None
    • PROD

      My job template pipeline script contains this line

      [properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '30')), pipelineTriggers([])])]

      I have created a job based on above template. After creation, I could see link to the template on the left side like Template:<template name>

      But after executing this job for the first time, I am not able to see the link to the template. Also when I click configure job, I could see my pipeline code available for the particular job. When I make some changes to job template later, no change is pushing to my jobs.

      Could you please provide me a solution for this issue?

       

            eldojoseph1234 Eldo Joseph
            eldojoseph1234 Eldo Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: