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

Cannot use ENV variable for repository url in Git Publisher

XMLWordPrintable

      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:

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

              Created:
              Updated:
              Resolved: