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

jobs fail to "parse changelog" for pull requests with "catch-up" merges from destination branch

XMLWordPrintable

      the latest git + git-client combination that worked is:

      plugin version
      git 2.4.1
      git-client 1.19.2

      I have upgraded from the above combination to 2.4.2 + 1.19.6, and then I've started experiencing the following problem for pull requests that had a "catchup" (one or more merges FROM destination branch before the pull request):

      20:22:31 java.io.IOException: Failed to parse changelog
      20:22:31 	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:625)
      20:22:31 	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      20:22:31 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      20:22:31 	at hudson.model.Run.execute(Run.java:1738)
      20:22:31 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      20:22:31 	at hudson.model.ResourceController.execute(ResourceController.java:98)
      20:22:31 	at hudson.model.Executor.run(Executor.java:410)
      20:22:31 Caused by: java.lang.NullPointerException
      20:22:31 	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
      20:22:31 	at com.google.jenkins.plugins.metadata.scm.SourceMetadata.<init>(SourceMetadata.java:62)
      20:22:31 	at com.google.jenkins.plugins.metadata.scm.SourceMetadataExtractor$FromGitBuildActions.getSourceMetadata(SourceMetadataExtractor.java:242)
      20:22:31 	at com.google.jenkins.plugins.metadata.scm.SourceMetadataExtractor$FromBuildActions.extract(SourceMetadataExtractor.java:139)
      20:22:31 	at com.google.jenkins.plugins.metadata.scm.SourceMetadataExtractor.extract(SourceMetadataExtractor.java:101)
      20:22:31 	at com.google.jenkins.plugins.metadata.scm.SourceMetadataBuildListener.onChangeLogParsed(SourceMetadataBuildListener.java:50)
      20:22:31 	at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:120)
      20:22:31 	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:623)
      20:22:31 	... 6 more
      

            yafim_kazak Yafim Kazak
            mvk Max Kovgan
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: