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

git plugin 3.6.4 regression with shared libraries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
    • Environment:
      Jenkins ver. 2.73.3 running on docker (jenkins/jenkins:lts)
    • Similar Issues:

      Description

      Git plugin 3.6.4 has a regression when working with shared libraries when a user specifies a commit which is not the last one of the branch.

      Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

      Behaviour of 3.6.3 (good one)

      Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
      > git rev-parse --is-inside-work-tree # timeout=10
      Setting origin to git@github.com:user/repo.git
      > git config remote.origin.url git@github.com:user/repo.git # timeout=10
      Fetching origin...
      Fetching upstream changes from origin
      > git --version # timeout=10
      using GIT_SSH to set credentials github
      > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
      > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
      > git rev-parse --is-inside-work-tree # timeout=10
      Fetching changes from the remote Git repository
      > git config remote.origin.url git@github.com:user/repo.git # timeout=10
      Fetching without tags
      Fetching upstream changes from git@github.com:user/repo.git
      > git --version # timeout=10
      using GIT_SSH to set credentials github
      > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
      Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
      > git config core.sparsecheckout # timeout=10
      > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
      Commit message: "Refactor developerPipeline.groovy"
      > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
      

      Behaviour of 3.6.4 (bad one)

      Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
      Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
      > git --version # timeout=10
      using GIT_SSH to set credentials github
      > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
      Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
      > git rev-parse --is-inside-work-tree # timeout=10
      Setting origin to git@github.com:user/repo.git
      > git config remote.origin.url git@github.com:user/repo.git # timeout=10
      Fetching origin...
      Fetching upstream changes from origin
      > git --version # timeout=10
      using GIT_SSH to set credentials github
      > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
      > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
      > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
      Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
      ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      WorkflowScript: Loading libraries failed
      

      Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

      The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954

      Steps to reproduce the issue

      1) Configure the shared libraries

      2) Use them with pipeline:

      @Library('xxx-jenkins-library@sha1_of_commit_which_is_not_the_last_one') _  
      
      

      3) Execute the pipeline and you should have the above output

      WORKAROUND: use git-plugin 3.6.3

        Attachments

          Issue Links

            Activity

            diegor Diego Russo created issue -
            diegor Diego Russo made changes -
            Field Original Value New Value
            Description Git plugin 3.6.4 has a regression when working with shared libraries. Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            \{noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            \{noformat}

            Behaviour of 3.6.4 (bad one)

            \{noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            \{noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954

            Cheers
            Git plugin 3.6.4 has a regression when working with shared libraries. Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            {noformat}

            Behaviour of 3.6.4 (bad one)

            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            {noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954

            Cheers
            diegor Diego Russo made changes -
            Environment Jenkins ver. 2.73.3 running on docker (linux)
            diegor Diego Russo made changes -
            Description Git plugin 3.6.4 has a regression when working with shared libraries. Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            {noformat}

            Behaviour of 3.6.4 (bad one)

            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            {noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954

            Cheers
            Git plugin 3.6.4 has a regression when working with shared libraries when a user specifies a commit which *is not the HEAD* of the branch.

            Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            {noformat}

            Behaviour of 3.6.4 (bad one)

            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            {noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954

            Cheers
            diegor Diego Russo made changes -
            Priority Major [ 3 ] Minor [ 4 ]
            diegor Diego Russo made changes -
            Description Git plugin 3.6.4 has a regression when working with shared libraries when a user specifies a commit which *is not the HEAD* of the branch.

            Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            {noformat}

            Behaviour of 3.6.4 (bad one)

            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            {noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954

            Cheers
            Git plugin 3.6.4 has a regression when working with shared libraries when a user specifies a commit which *is not the HEAD* of the branch.

            Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            {noformat}

            Behaviour of 3.6.4 (bad one)

            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            {noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954

            *WORKAROUND: use git-plugin 3.6.3*
            diegor Diego Russo made changes -
            Environment Jenkins ver. 2.73.3 running on docker (linux) Jenkins ver. 2.73.3 running on docker (jenkins/jenkins:lts)
            markewaite Mark Waite made changes -
            Assignee Mark Waite [ markewaite ] Stephen Connolly [ stephenc ]
            diegor Diego Russo made changes -
            diegor Diego Russo made changes -
            Description Git plugin 3.6.4 has a regression when working with shared libraries when a user specifies a commit which *is not the HEAD* of the branch.

            Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            {noformat}

            Behaviour of 3.6.4 (bad one)

            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            {noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954

            *WORKAROUND: use git-plugin 3.6.3*
            Git plugin 3.6.4 has a regression when working with shared libraries when a user specifies a commit which *is not the HEAD* of the branch.

            Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            {noformat}

            Behaviour of 3.6.4 (bad one)

            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            {noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954


            Steps to reproduce the issue

            1) Configure the shared libraries
             !Screen Shot 2017-11-16 at 14.52.50.png|thumbnail!

            2) Use them with pipeline:

            {noformat}

            @Library('xxx-jenkins-library@sha1_of_commit_which_is_not_HEAD') _

            {noformat}

            *WORKAROUND: use git-plugin 3.6.3*
            diegor Diego Russo made changes -
            Description Git plugin 3.6.4 has a regression when working with shared libraries when a user specifies a commit which *is not the HEAD* of the branch.

            Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            {noformat}

            Behaviour of 3.6.4 (bad one)

            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            {noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954


            Steps to reproduce the issue

            1) Configure the shared libraries
             !Screen Shot 2017-11-16 at 14.52.50.png|thumbnail!

            2) Use them with pipeline:

            {noformat}

            @Library('xxx-jenkins-library@sha1_of_commit_which_is_not_HEAD') _

            {noformat}

            *WORKAROUND: use git-plugin 3.6.3*
            Git plugin 3.6.4 has a regression when working with shared libraries when a user specifies a commit which *is not the last one* of the branch.

            Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            {noformat}

            Behaviour of 3.6.4 (bad one)

            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            {noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954


            Steps to reproduce the issue

            1) Configure the shared libraries
             !Screen Shot 2017-11-16 at 14.52.50.png|thumbnail!

            2) Use them with pipeline:

            {noformat}

            @Library('xxx-jenkins-library@sha1_of_commit_which_is_not_the_last_one') _

            {noformat}

            *WORKAROUND: use git-plugin 3.6.3*
            diegor Diego Russo made changes -
            Description Git plugin 3.6.4 has a regression when working with shared libraries when a user specifies a commit which *is not the last one* of the branch.

            Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            {noformat}

            Behaviour of 3.6.4 (bad one)

            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            {noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954


            Steps to reproduce the issue

            1) Configure the shared libraries
             !Screen Shot 2017-11-16 at 14.52.50.png|thumbnail!

            2) Use them with pipeline:

            {noformat}

            @Library('xxx-jenkins-library@sha1_of_commit_which_is_not_the_last_one') _

            {noformat}

            *WORKAROUND: use git-plugin 3.6.3*
            Git plugin 3.6.4 has a regression when working with shared libraries when a user specifies a commit which *is not the last one* of the branch.

            Below the execution of the same pipeline with two version of the same plugin: the good one is 3.6.3 whilst the one which introduces the regression is 3.6.4.

            Behaviour of 3.6.3 (good one)
            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git rev-parse --is-inside-work-tree # timeout=10
            Fetching changes from the remote Git repository
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching without tags
            Fetching upstream changes from git@github.com:user/repo.git
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --no-tags --progress git@github.com:user/repo.git +refs/heads/*:refs/remotes/origin/*
            Checking out Revision a39ba3363968d030eca48fc7b32e78870f580e0e (a39ba3363968d030eca48fc7b32e78870f580e0e)
            > git config core.sparsecheckout # timeout=10
            > git checkout -f a39ba3363968d030eca48fc7b32e78870f580e0e
            Commit message: "Refactor developerPipeline.groovy"
            > git rev-list a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            {noformat}

            Behaviour of 3.6.4 (bad one)

            {noformat}
            Loading library xxx-jenkins-library@a39ba3363968d030eca48fc7b32e78870f580e0e
            Attempting to resolve a39ba3363968d030eca48fc7b32e78870f580e0e from remote references...
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git ls-remote -h -t git@github.com:user/repo.git # timeout=10
            Could not find a39ba3363968d030eca48fc7b32e78870f580e0e in remote references. Pulling heads to local for deep search...
            > git rev-parse --is-inside-work-tree # timeout=10
            Setting origin to git@github.com:user/repo.git
            > git config remote.origin.url git@github.com:user/repo.git # timeout=10
            Fetching origin...
            Fetching upstream changes from origin
            > git --version # timeout=10
            using GIT_SSH to set credentials github
            > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
            > git rev-parse a39ba3363968d030eca48fc7b32e78870f580e0e^\{commit} # timeout=10
            > git branch -v --no-abbrev --contains a39ba3363968d030eca48fc7b32e78870f580e0e # timeout=10
            Could not find a branch containing commit a39ba3363968d030eca48fc7b32e78870f580e0e
            ERROR: No version a39ba3363968d030eca48fc7b32e78870f580e0e found for library xxx-jenkins-library
            org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
            WorkflowScript: Loading libraries failed
            {noformat}

            Here the code of the plugin up to 3.6.4: https://github.com/jenkinsci/git-plugin/commits/git-3.6.4

            The culprit could be this commit: https://github.com/jenkinsci/git-plugin/commit/addcc0a57f2a205f7a79efda4ca15e7b6d937954


            *Steps to reproduce the issue*

            1) Configure the shared libraries
             !Screen Shot 2017-11-16 at 14.52.50.png|thumbnail!

            2) Use them with pipeline:

            {noformat}

            @Library('xxx-jenkins-library@sha1_of_commit_which_is_not_the_last_one') _

            {noformat}

            3) Execute the pipeline and you should have the above output

            *WORKAROUND: use git-plugin 3.6.3*
            jglick Jesse Glick made changes -
            Labels regression
            jglick Jesse Glick made changes -
            Link This issue blocks JENKINS-47824 [ JENKINS-47824 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 557 (Web Link)" [ 18300 ]
            markewaite Mark Waite made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-48385 [ JENKINS-48385 ]
            stephenconnolly Stephen Connolly made changes -
            Link This issue is blocked by JENKINS-48385 [ JENKINS-48385 ]
            stephenconnolly Stephen Connolly made changes -
            rsandell rsandell made changes -
            Assignee Stephen Connolly [ stephenc ] rsandell [ rsandell ]
            stephenconnolly Stephen Connolly made changes -
            Attachment image-2018-03-08-09-35-47-511.png [ 41765 ]
            stephenconnolly Stephen Connolly made changes -
            stephenconnolly Stephen Connolly made changes -
            stephenconnolly Stephen Connolly made changes -
            ssbarnea Sorin Sbarnea made changes -
            Remote Link This issue links to "PR 561 (Web Link)" [ 20328 ]
            rsandell rsandell made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            rsandell rsandell made changes -
            Remote Link This issue links to "PR 577 (Web Link)" [ 20365 ]
            markewaite Mark Waite made changes -
            Remote Link This issue links to "PR 577 (Web Link)" [ 20477 ]
            markewaite Mark Waite made changes -
            Remote Link This issue links to "PR 577 (Web Link)" [ 20477 ]
            markewaite Mark Waite made changes -
            Link This issue relates to JENKINS-48385 [ JENKINS-48385 ]
            hughsaunders Hugh Saunders made changes -
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2663 (Web Link)" [ 20524 ]
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal CD-484 (Web Link)" [ 20617 ]
            rsandell rsandell made changes -
            Link This issue is related to JENKINS-51134 [ JENKINS-51134 ]
            rsandell rsandell made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                rsandell rsandell
                Reporter:
                diegor Diego Russo
              • Votes:
                8 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: