-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins Version - 2.190.1
sauce-ondemand - 1.186
Java - 1.8
- I use a DSL groovy script to create my jobs
- The jobs are created successfully
- When I attempt to build a job that was created by the DSL, Jenkins is throwing the below error
Starting pre-build for Sauce Labs plugin FATAL: null java.lang.NullPointerException at hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper.setUp(SauceOnDemandBuildWrapper.java:354) at hudson.model.Build$BuildExecution.doRun(Build.java:157) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504) at hudson.model.Run.execute(Run.java:1815) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)
- However, if I click on the configure job link, do nothing and hit save/apply, the job is building fine.
- The sauce pre-build is successful if I save the job once manually
- I have tons of jobs and it's not really possible to configure every job manually
Can someone please advise on what's going wrong here? Thanks!