Cannot use ENV variable for repository url in Git Publisher

This issue is archived. You can view it, but you can't modify it. Learn more

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:

        1. image-2018-07-30-09-25-09-077.png
          10 kB
          Daniel Carreira
        2. image-2018-07-30-09-27-16-812.png
          10 kB
          Daniel Carreira
        3. image-2018-07-30-09-32-20-195.png
          10 kB
          Daniel Carreira
        4. image-2018-08-17-07-02-20-124.png
          38 kB
          jlpinardon
        5. image-2018-08-17-07-20-30-640.png
          12 kB
          jlpinardon
        6. JENKINS-27508-config.xml
          7 kB
          Mark Waite

            Assignee:
            Yash Amrut Jain
            Reporter:
            Peter lai
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: