diff --git a/vars/buildTestDeploy.groovy b/vars/buildTestDeploy.groovy index 045e4208f88383b3b51c6bc7016b960bf5f86da7..526a724ff4f36fe5a796deb1d8cb19be11b2e4f7 100644 --- a/vars/buildTestDeploy.groovy +++ b/vars/buildTestDeploy.groovy @@ -21,7 +21,7 @@ def call(ArrayList<String> dependencyList, String gitUrl='', lock("build-${env.JOB_NAME}") { // wait until dependencies are no longer building (to reduce "storm" of builds after core libraries were built) - helper.waitForDependencies(helper.gatherDependenciesDeep(dependencyList)) + helper.waitForDependencies(helper.gatherDependenciesDeep(new ArrayList<String>(dependencyList))) // only keep builds which exist for all dependencies script {