-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins ver. 2.60.2
matrix-project:1.11
nodelabelparameter:1.7.2
amazon-ecs:1.11
I am using the node label parameter plugin with the intention of restricting all builds to a specific label associated with slaves provided by the amazon-ecs plugin. These slaves are dynamic, in that slave containers are created as jobs that reference the cloud label are started.
The initial matrix build is successful, however when the 'Postbuild' executes, it attempts to re-use the specific slave node that started the build e.g.:
10:07:15 Building remotely on ecs-node-a9b520a510fe2 (ecs-node) ...
...
10:18:12 [PostBuildScript] - Execution post build scripts.
10:18:12 Run condition [Always] enabling perform for step [BuilderChain]
10:18:12 FATAL: no such build node: ecs-node-a9b520a510fe2
10:18:12 java.lang.NullPointerException: no such build node: ecs-node-a9b520a510fe2
The interim build steps are successfully spawning new slave containers using the label I specified, but the Post-build always attempts to run on the specific slave where the initial job was spawned.
I would very much appreciate it if anyone could point me in the right direction.