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

Unable to rebuild a job triggered by polling (regression in 2.358)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core
    • Affected versions: Jenkins v2.358+
      Jenkins master: Windows 10
      Jenkins slaves: Debian 10/11
    • 2.363

      After update Jenkins from v2.357 to v2.358+ (tried until latest version available -> v2.361), I can't rebuild a job which is triggered by GitLab webhooks (tag push events)

       

      Any logs are available in the build (check attached file) and I can't cancel the job. I have to restart Jenkins for that.

      In jenkins.err.log, I have this log:

      2022-08-02 10:17:58.033+0000 [id=79]    SEVERE    hudson.model.Executor#finish1: Executor threw an exception
      java.lang.NullPointerException
          at java.base/java.util.Objects.requireNonNull(Objects.java:221)
          at java.base/java.nio.file.Files.writeString(Files.java:3632)
          at hudson.triggers.SCMTrigger$SCMTriggerCause.onAddedTo(SCMTrigger.java:746)
          at hudson.model.CauseAction.onAttached(CauseAction.java:164)
          at hudson.model.Run.addAction(Run.java:433)
          at hudson.model.AbstractBuild.addAction(AbstractBuild.java:1010)
          at hudson.model.Executor.run(Executor.java:432)

       

      I tried all Jenkins versions available, tried to update all my plugins, change slave machine, nothing worked.

      I don't have this issue when I try to rebuild job triggered via Jenkins directly.

          [JENKINS-69210] Unable to rebuild a job triggered by polling (regression in 2.358)

          Alex DF created issue -
          Alex DF made changes -
          Summary Original: Unable to rebuild a job trigger by GitLab webhook New: Unable to rebuild a job triggered by GitLab webhook
          Basil Crow made changes -
          Summary Original: Unable to rebuild a job triggered by GitLab webhook New: Unable to rebuild a job triggered by GitLab webhook (regression in 2.358)
          Basil Crow made changes -
          Labels New: regression
          Basil Crow made changes -
          Assignee New: Basil Crow [ basil ]
          Basil Crow made changes -
          Remote Link New: This issue links to "jenkinsci/jenkins#6971 (Web Link)" [ 28100 ]
          Basil Crow made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Basil Crow made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Basil Crow made changes -
          Labels Original: regression New: lts-candidate regression
          Basil Crow made changes -
          Summary Original: Unable to rebuild a job triggered by GitLab webhook (regression in 2.358) New: Unable to rebuild a job triggered by polling (regression in 2.358)
          Basil Crow made changes -
          Released As New: 2.363
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Fixed but Unreleased [ 10203 ]

            basil Basil Crow
            alexdf Alex DF
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: