I have a multi-configuration job that takes a user-defined axis of wos_1 thru 
wos_10 and that is the value of a set of data that needs to be loaded into 
elastic search.


The job has 5 parameters that are static, and the wos parameter which is the 
user-defined axis is dynamic. I also have inject passwords to build as env vars 
checked and I have global passwords checked with mask password parameters and 
im injecting my aws secret and access key.


I have set jenkins user build vars, use secret text or files, execute 
concurrent builds if necessary, and this build is parameterized all checked.


I also have the git hub plugin set to download two scripts a bash script that 
works as a hand off script to my python script which gets the data and starts 
the insertion.


However, as you will see with the error below it fails when it trys to inject 
the node level env vars and im not sure why.




[EnvInject] - Inject global passwords.
[EnvInject] - Mask passwords passed as build parameters.
Started by user 
[EnvInject] - Loading node environment variables.
FATAL: nulljava.lang.NullPointerException 
<http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException>  
      at 
org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper.makeSensitiveBuildVariables(SecretBuildWrapper.java:76)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper.makeSensitiveBuildVariables&entity=method>
        at 
hudson.model.AbstractBuild.getSensitiveBuildVariables(AbstractBuild.java:998) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild.getSensitiveBuildVariables&entity=method>
        at 
org.jenkinsci.plugins.envinject.service.EnvInjectActionSetter.addEnvVarsToEnvInjectBuildAction(EnvInjectActionSetter.java:41)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.envinject.service.EnvInjectActionSetter.addEnvVarsToEnvInjectBuildAction&entity=method>
        at 
org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:84)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode&entity=method>
        at 
org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:39)
 
<http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment&entity=method>
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:574)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher&entity=method>
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method>
        at hudson.model.Run.execute(Run.java:1751) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method>
        at hudson.matrix.MatrixBuild.run(MatrixBuild.java:306) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.matrix.MatrixBuild.run&entity=method>
        at hudson.model.ResourceController.execute(ResourceController.java:89) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>
        at hudson.model.Executor.run(Executor.java:240) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>
        at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.OneOffExecutor.run&entity=method>
Finished: FAILURE

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ce552f8a-23d6-439f-8b92-a4ada8c3f933%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to