Skip to content
Snippets Groups Projects
Unverified Commit 9c05da50 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer Committed by GitHub
Browse files

Update buildTestDeploy.groovy

parent 647e6c22
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,12 @@
def gatherDependenciesDeep(ArrayList<String> dependencyList) {
def deepList = dependencyList
dependencyList.each {
copyArtifacts filter: "dependencyList.txt", fingerprintArtifacts: true, projectName: "${it}", selector: lastSuccessful(), target: "artefacts"
def myFile = readFile(env.WORKSPACE+"/artefacts/dependencyList.txt")
def dependencyList2 = myFile.split("\n")
deepList.addAll(gatherDependenciesDeep(dependencyList2))
node('Docker') {
copyArtifacts filter: "dependencyList.txt", fingerprintArtifacts: true, projectName: "${it}", selector: lastSuccessful(), target: "artefacts"
def myFile = readFile(env.WORKSPACE+"/artefacts/dependencyList.txt")
def dependencyList2 = myFile.split("\n")
deepList.addAll(gatherDependenciesDeep(dependencyList2))
}
}
return deepList.unique()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment