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:

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

              Created:
              Updated:
              Resolved:
              Archived: