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

Replace string is not working as expected

XMLWordPrintable

      I have created simple pipeline and would like to copy it with logged_in_user name.  I am accepting logged_in_user value from parameter but while copying it is creating new job with same name instead of variable value. It Seems replace string is not working properly. 

       

      Initial line from build is as follows:

       

      Started by user
      Deepak Arora
      Running as
      Deepak Arora
      Building in workspace /var/lib/jenkins/workspace/Copy
      Copying Patching to Patching_Progress/{user}
      Already exists: Patching_Progress/{user}
      Fetching configuration of Patching...
      Original xml:
       {Code}

       

       

       

            darora Deepak
            darora Deepak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: