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

The git plugin is not working correctly when the repository url has job parameter and any repository credentials

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When I configured a job with one job parameter as part of git repository url, I got authentication error like that:

      stdout:
      stderr: Permission denied (publickey).
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists.

        Attachments

          Activity

          Hide
          moeglewa William Moeglein added a comment -

          Do we know what the most recent version is where this feature is working? I see the pull request for this bug on Github. Is there an anticipated date when this will be released?

          Show
          moeglewa William Moeglein added a comment - Do we know what the most recent version is where this feature is working? I see the pull request for this bug on Github. Is there an anticipated date when this will be released?
          Hide
          elvysborges elvys borges added a comment -

          Hi Willian,
          I had this problem, fix and sent the pull request. I don't know the release date with this fix. I'm a advanced user of Jenkins without experience in open source development.
          If it is critical to you, I could sent my compiled git-plugin.hpi to you.
          Best regards,
          Elvys

          Show
          elvysborges elvys borges added a comment - Hi Willian, I had this problem, fix and sent the pull request. I don't know the release date with this fix. I'm a advanced user of Jenkins without experience in open source development. If it is critical to you, I could sent my compiled git-plugin.hpi to you. Best regards, Elvys
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Elvys Borges
          Path:
          src/main/java/hudson/plugins/git/GitSCM.java
          http://jenkins-ci.org/commit/git-plugin/7fbd682693f143b628e16e5776d5e8e4b7590b6f
          Log:
          [FIXED JENKINS-23675] Expand parameters on repository url before associate one url to one credential

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Elvys Borges Path: src/main/java/hudson/plugins/git/GitSCM.java http://jenkins-ci.org/commit/git-plugin/7fbd682693f143b628e16e5776d5e8e4b7590b6f Log: [FIXED JENKINS-23675] Expand parameters on repository url before associate one url to one credential
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nicolas De loof
          Path:
          src/main/java/hudson/plugins/git/GitSCM.java
          http://jenkins-ci.org/commit/git-plugin/397646b8034e63f1d6f8c783e9fd3a9df16c57a4
          Log:
          Merge pull request #239 from elvysborges/2.2.x

          [FIXED JENKINS-23675] Expand parameters on repository url

          Compare: https://github.com/jenkinsci/git-plugin/compare/b3c63a02b4af...397646b8034e

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De loof Path: src/main/java/hudson/plugins/git/GitSCM.java http://jenkins-ci.org/commit/git-plugin/397646b8034e63f1d6f8c783e9fd3a9df16c57a4 Log: Merge pull request #239 from elvysborges/2.2.x [FIXED JENKINS-23675] Expand parameters on repository url Compare: https://github.com/jenkinsci/git-plugin/compare/b3c63a02b4af...397646b8034e
          Hide
          markewaite Mark Waite added a comment -

          Fixed in git plugin 2.2.3, released 31 July 2014

          Show
          markewaite Mark Waite added a comment - Fixed in git plugin 2.2.3, released 31 July 2014
          Hide
          markewaite Mark Waite added a comment -

          Fix included in git plugin 2.3.1, released 29 Nov 2014

          Show
          markewaite Mark Waite added a comment - Fix included in git plugin 2.3.1, released 29 Nov 2014
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Elvys Borges
          Path:
          src/main/java/hudson/plugins/git/GitSCM.java
          http://jenkins-ci.org/commit/git-plugin/988c4d10cb09133673631e33190897c895e59cf7
          Log:
          [FIXED JENKINS-23675] Expand parameters on repository url before associate one url to one credential

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Elvys Borges Path: src/main/java/hudson/plugins/git/GitSCM.java http://jenkins-ci.org/commit/git-plugin/988c4d10cb09133673631e33190897c895e59cf7 Log: [FIXED JENKINS-23675] Expand parameters on repository url before associate one url to one credential

            People

            • Assignee:
              elvysborges elvys borges
              Reporter:
              elvysborges elvys borges
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: