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

FATAL: Null value not allowed as an environment variable: VARIABLE_NAME

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When one uses Predefined Generator Parameters to trigger a parameterized build, this exception is raised where VARIABLE_NAME is the name of a defined Generator Parameter:

      java.lang.IllegalArgumentException: Null value not allowed as an environment variable: VARIABLE_NAME
      at hudson.EnvVars.put(EnvVars.java:356)
      at hudson.model.StringParameterValue.buildEnvironment(StringParameterValue.java:56)
      at hudson.model.ParametersAction.buildEnvVars(ParametersAction.java:85)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:883)
      at hudson.plugins.parameterizedtrigger.AbstractBuildParameters.getEnvironment(AbstractBuildParameters.java:47)
      at org.jenkinsci.plugins.jobgenerator.parameterizedtrigger.PredefinedGeneratorParameters.getAction(PredefinedGeneratorParameters.java:59)
      at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.gatherDownstreamGenerators(GeneratorRun.java:493)
      at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.doRun(GeneratorRun.java:299)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:523)
      at hudson.model.Run.execute(Run.java:1688)
      at org.jenkinsci.plugins.jobgenerator.GeneratorRun.run(GeneratorRun.java:284)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: syl20bnr
          Path:
          src/main/java/org/jenkinsci/plugins/jobgenerator/parameters/GeneratorKeyValueParameterValue.java
          http://jenkins-ci.org/commit/jobgenerator-plugin/88d38acaa1e78dd5ba6afe2d671df9fc582b56b9
          Log:
          JENKINS-22455 FATAL: Null value not allowed as an environment variable: VARIABLE_NAME

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: syl20bnr Path: src/main/java/org/jenkinsci/plugins/jobgenerator/parameters/GeneratorKeyValueParameterValue.java http://jenkins-ci.org/commit/jobgenerator-plugin/88d38acaa1e78dd5ba6afe2d671df9fc582b56b9 Log: JENKINS-22455 FATAL: Null value not allowed as an environment variable: VARIABLE_NAME
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: syl20bnr
          Path:
          src/main/java/org/jenkinsci/plugins/jobgenerator/parameters/GeneratorKeyValueParameterValue.java
          http://jenkins-ci.org/commit/jobgenerator-plugin/f9967eb4a8962e579063a628395fa48af26037b9
          Log:
          JENKINS-22455 FATAL: Null value not allowed as an environment variable: VARIABLE_NAME

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: syl20bnr Path: src/main/java/org/jenkinsci/plugins/jobgenerator/parameters/GeneratorKeyValueParameterValue.java http://jenkins-ci.org/commit/jobgenerator-plugin/f9967eb4a8962e579063a628395fa48af26037b9 Log: JENKINS-22455 FATAL: Null value not allowed as an environment variable: VARIABLE_NAME

            People

            • Assignee:
              syl20bnr Sylvain Benner
              Reporter:
              syl20bnr Sylvain Benner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: