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: null java.lang.NullPointerException at org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper.makeSensitiveBuildVariables(SecretBuildWrapper.java:76) at hudson.model.AbstractBuild.getSensitiveBuildVariables(AbstractBuild.java:998) at org.jenkinsci.plugins.envinject.service.EnvInjectActionSetter.addEnvVarsToEnvInjectBuildAction(EnvInjectActionSetter.java:41) at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:84) at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:39) at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:574) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1751) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:306) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43) Finished: FAILURE