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

Cannot use ENV variable for repository url in Git Publisher

      If you've a variable as the Repository URL, e.g. ${GIT_REPO}

      {GIT_REPO}

      doesn't get replaced in git publisher - it will do

      hudson.plugins.git.GitException: Command "git push ${GIT_REPO} 1.1.761 -f" returned status code 128:
      stdout:

          [JENKINS-27508] Cannot use ENV variable for repository url in Git Publisher

          Peter lai created issue -
          Aaron D. Marasco made changes -
          Link New: This issue is related to JENKINS-23477 [ JENKINS-23477 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161717 ] New: JNJira + In-Review [ 180808 ]
          Michael Fowler made changes -
          Link New: This issue is related to JENKINS-30287 [ JENKINS-30287 ]
          Monkey Little made changes -
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-49834 [ JENKINS-49834 ]
          Daniel Carreira made changes -
          Attachment New: image-2018-07-30-09-25-09-077.png [ 43546 ]
          Daniel Carreira made changes -
          Attachment New: image-2018-07-30-09-27-16-812.png [ 43547 ]
          Daniel Carreira made changes -
          Attachment New: image-2018-07-30-09-32-20-195.png [ 43548 ]
          jlpinardon made changes -
          Attachment New: image-2018-08-17-07-02-20-124.png [ 43773 ]
          jlpinardon made changes -
          Attachment New: image-2018-08-17-07-20-30-640.png [ 43774 ]

            yashj21 Yash Amrut Jain
            peterlai Peter lai
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: