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

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Jenkins JIRA by Ron K, 1 year ago
Null value not allowed as an environment variable: GIT_BRANCH
via Jenkins JIRA by Ron K, 1 year ago
Null value not allowed as an environment variable: GIT_BRANCH
via jenkins-ci.org by Unknown author, 1 year ago
Null value not allowed as an environment variable: GIT_COMMIT
via Jenkins JIRA by Jesse Glick, 1 year ago
java.lang.IllegalArgumentException: Null value not allowed as an environment variable: GIT_BRANCH
at hudson.EnvVars.put(EnvVars.java:162)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:576)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:465)
at hudson.model.Run.run(Run.java:1409)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:238)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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