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

Some environment variables are not expanded during git polling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin

      When setting the git URL to include environment variables, specifically

      ${JOB_NAME}
      

      , and "Force polling using workspace" disabled, then during SCM polling the environment variables are not evaluated correctly when evaluating ref-specs and branch-specs.

      As a result, credentials are loaded to the git client using the unparsed URL, while when the git client is actually being run it uses the correct URL and fails to load the credentials.

            Unassigned Unassigned
            guss77 Oded Arbel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: