java.lang.IllegalArgumentException

Null value not allowed as an environment variable: GIT_COMMIT

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web50

  • via Unknown by Bobby Dineen,
  • via Unknown by Bobby Dineen,
  • Stack trace

    • 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:1151) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:922) at hudson.plugins.mstest.MSTestPublisher.resolveFilePath(MSTestPublisher.java:99) at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:79) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1742) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,