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

Retrieving Git references do not work with variable in Repository URL

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-parameter-plugin
    • Labels:
      None
    • Environment:
      Jenkins v2.46.2
      Git Plugin v3.5.0
      Git Parameter Plugin v0.8.0
    • Similar Issues:

      Description

      Our job is configured using a Git repository from Bitbucket with an envrionment variable of ${Repo_Name}, and the ${Repo_Name} string parameter has a default vale.  We also have a git parameter type of Tag.  Since we upgraded our plugins the tags no longer are able to be retrieved from git, and fails due to the ${Repo_Name} variable not being pulled into the git URL.

      Why is this no longer picking up the ${Repo_Name} environment variable? We were previously on Git Plugin v2.5.3, and Git Parameter Plugin v0.7.0.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: klimas7
          Path:
          src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java
          src/test/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinitionTest.java
          http://jenkins-ci.org/commit/git-parameter-plugin/87fdb55b73ba45bfe615ea6cda9fdf35cc987883
          Log:
          JENKINS-47110: Retrieving Git references do not work with variable in Repository URL

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: klimas7 Path: src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java src/test/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinitionTest.java http://jenkins-ci.org/commit/git-parameter-plugin/87fdb55b73ba45bfe615ea6cda9fdf35cc987883 Log: JENKINS-47110 : Retrieving Git references do not work with variable in Repository URL
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Boguslaw Klimas
          Path:
          src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java
          src/test/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinitionTest.java
          http://jenkins-ci.org/commit/git-parameter-plugin/e6df19c0e319f41114138836617ff4f3c793ed4b
          Log:
          Merge pull request #53 from jenkinsci/bugfix/JENKINS-47110

          JENKINS-47110

          Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/1fc1ea230d76...e6df19c0e319

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Boguslaw Klimas Path: src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java src/test/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinitionTest.java http://jenkins-ci.org/commit/git-parameter-plugin/e6df19c0e319f41114138836617ff4f3c793ed4b Log: Merge pull request #53 from jenkinsci/bugfix/ JENKINS-47110 JENKINS-47110 Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/1fc1ea230d76...e6df19c0e319
          Hide
          klimas7 Boguslaw Klimas added a comment -

          Release 0.9.0

          Show
          klimas7 Boguslaw Klimas added a comment - Release 0.9.0

            People

            • Assignee:
              klimas7 Boguslaw Klimas
              Reporter:
              trent_dailey Trent Dailey
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: