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

Job cannot be built with parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Blocker Blocker
    • git-plugin
    • None
    • Git plugin 2.0.1
      git-client 1.6
      Jenkins 1.5.45 v.1.5.46

      FATAL: Null value not allowed as an environment variable: GIT_COMMIT
      java.lang.IllegalArgumentException: Null value not allowed as an environment variable: GIT_COMMIT
      at hudson.EnvVars.put(EnvVars.java:356)
      at hudson.EnvVars.put(EnvVars.java:74)
      at hudson.plugins.git.GitSCM.buildEnvVars(GitSCM.java:983)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:919)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:865)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
      at hudson.model.Run.execute(Run.java:1678)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)

      The jobs works if it's modified to normal and build with "Build now".
      We encountered the same behaviour with Git plugin 2.0 and not parameterized builds.

            ndeloof Nicolas De Loof
            tompos Tamas Papp
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: