Use any node.
This commit is contained in:
parent
cc5376ff69
commit
9b32dc2f4b
|
@ -7,9 +7,6 @@ String releaseURL = "https://code-repo.d4science.org/gCubeCI/gCubeRelease/raw/br
|
|||
println "Querying ${releaseURL}"
|
||||
def text = releaseURL.toURL().getText()
|
||||
def gcubeJSON = new JsonSlurper().parseText(text)
|
||||
println gcubeJSON
|
||||
println "body:"
|
||||
println gcubeJSON.body
|
||||
|
||||
//check that the release number parameter is the one expected
|
||||
assert gcubeJSON["gCube.version"] == params.gCube_release_number : "Release versions do not match!"
|
||||
|
@ -80,7 +77,8 @@ echo "Configured dynamic stages: ${dynamicStages.inspect()}"
|
|||
pipeline {
|
||||
// see https://jenkins.io/doc/book/pipeline/syntax/#agent
|
||||
agent {
|
||||
label 'pipeline-agent'
|
||||
//label 'pipeline-agent'
|
||||
label 'any'
|
||||
}
|
||||
|
||||
// see https://jenkins.io/doc/book/pipeline/syntax/#environment
|
||||
|
|
Loading…
Reference in New Issue