-
Bug
-
Resolution: Unresolved
-
Major
-
None
Environment variables set for a job with the "Prepare an environment for the run" and not processed/used for batch tasks. This is very similar to bug JENKINS-5580 reported for batch tasks and the now deprecated setenv plugin
Well, I don't know since downgrading batch-task is fixing the issue, even if it's the rebuild-plugin which throws the exception. I'm not sure to understand why the rebuild-plugin is called when executing a batch task, but if it was already called before that change, then its "current project" wasn't null...
Do you think the use of EnvInject in batch-task requires some upgrade on rebuild-plugin? Isn't there a broken backward compatibility which could be fixed in EnvInject?