java.lang.IllegalArgumentException: Null value not allowed as an environment variable: GIT_COMMIT

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via jenkins-ci.org by Unknown author, 1 year ago
Null value not allowed as an environment variable: GIT_COMMIT
via Jenkins JIRA by Bobby Dineen, 1 year ago
Null value not allowed as an environment variable: GIT_COMMIT
via Jenkins JIRA by Bobby Dineen, 1 year ago
Null value not allowed as an environment variable: GIT_COMMIT
via Google Groups by kathleen...@aquilent.com (JIRA), 11 months ago
Null value not allowed as an environment variable: GIT_URL_2
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.model.AbstractBuild.getEnvironment(AbstractBuild.java:919)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1414)
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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.