After upgrading to version 2.2.1, this command no longer works properly in my existing pipeline:
       
      cmdline: git merge-base origin/master HEAD
      stderr: 'fatal: Not a valid object name origin/master'

          [JENKINS-45666] Origin/master no longer set

          You need to add an additional refspec for origin/master

          Stephen Connolly added a comment - You need to add an additional refspec for origin/master

          Here is an example of the configuration:

          And here is the successful build log showing that the additiona ref-spec is being fetched.

          Stephen Connolly added a comment - Here is an example of the configuration: And here is the successful build log showing that the additiona ref-spec is being fetched.

            Unassigned Unassigned
            chrisleck Christopher Eck
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: