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

poll SCM not work after upgrade the EnvInject Plugin to 1.81

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I'm using Jenkins-Core 1.500 version.
      I upgraded the EnvInject Plugin to 1.81 this afternoon, but I found it has a seriously problem:
      1. All the jobs with subversion polling not work.
      2. Subversion polling log can't be tracked. see blow logs.

      of cause, after I downgrade the 1.81 to 1.80, the polling function go back to OK.

      Subversion Polling Log

      Started on Jan 31, 2013 8:15:45 PM
      ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@455d0ff7[ec_build_trigger]
      java.lang.NullPointerException
      at java.util.TreeMap.putAll(TreeMap.java:290)
      at org.jenkinsci.plugins.envinject.EnvInjectVarList.<init>(EnvInjectVarList.java:25)
      at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.getTarget(EnvInjectPluginAction.java:20)
      at org.jenkinsci.plugins.envinject.EnvInjectPluginAction.buildEnvVars(EnvInjectPluginAction.java:24)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:948)
      at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1230)
      at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      at hudson.scm.SCM.poll(SCM.java:373)
      at hudson.model.AbstractProject._poll(AbstractProject.java:1493)
      at hudson.model.AbstractProject.poll(AbstractProject.java:1410)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
      at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/lib/envinject/EnvInjectAction.java
          http://jenkins-ci.org/commit/envinject-lib/e0585e40a9022653693902a6449de2611db71447
          Log:
          Fix JENKINS-16575 and JENKINS-16566

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/lib/envinject/EnvInjectAction.java http://jenkins-ci.org/commit/envinject-lib/e0585e40a9022653693902a6449de2611db71447 Log: Fix JENKINS-16575 and JENKINS-16566
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/lib/envinject/EnvInjectAction.java
          http://jenkins-ci.org/commit/envinject-lib/6c2027615675ae7fbf666067acc60eabbba7cfa2
          Log:
          Fix JENKINS-16575 and JENKINS-16566

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/lib/envinject/EnvInjectAction.java http://jenkins-ci.org/commit/envinject-lib/6c2027615675ae7fbf666067acc60eabbba7cfa2 Log: Fix JENKINS-16575 and JENKINS-16566
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectBuildVariableContributor.java
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectPluginAction.java
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectVarList.java
          http://jenkins-ci.org/commit/envinject-plugin/0537bc39eea9fa3fbe318df0a25c45af9810a001
          Log:
          Fix JENKINS-16575 and JENKINS-16566


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: pom.xml src/main/java/org/jenkinsci/plugins/envinject/EnvInjectBuildVariableContributor.java src/main/java/org/jenkinsci/plugins/envinject/EnvInjectPluginAction.java src/main/java/org/jenkinsci/plugins/envinject/EnvInjectVarList.java http://jenkins-ci.org/commit/envinject-plugin/0537bc39eea9fa3fbe318df0a25c45af9810a001 Log: Fix JENKINS-16575 and JENKINS-16566 – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              xiaopan3322 Bao Xiaopan(Bob)
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: