Changing the the new groovy script

This commit is contained in:
bernat 2020-03-26 09:40:46 +01:00
parent 457b63b85e
commit 0f00bd438a
1 changed files with 5 additions and 5 deletions

10
Jenkinsfile vendored
View File

@ -19,7 +19,7 @@ pipeline
script script
{ {
JOB_ID = "${env.BUILD_TAG}" JOB_ID = "${env.BUILD_TAG}"
jenkinsLib = load("/home/jenkins/jenkins424.groovy") jenkinsLib = load("/home/jenkins/jenkins.groovy")
jenkinsLib.CreateUbuntuBuildNode(JOB_ID) jenkinsLib.CreateUbuntuBuildNode(JOB_ID)
jenkinsLib.CreateWindowsBuildNode(JOB_ID) jenkinsLib.CreateWindowsBuildNode(JOB_ID)
@ -109,7 +109,7 @@ pipeline
script script
{ {
JOB_ID = "${env.BUILD_TAG}" JOB_ID = "${env.BUILD_TAG}"
jenkinsLib = load("/home/jenkins/jenkins424.groovy") jenkinsLib = load("/home/jenkins/jenkins.groovy")
jenkinsLib.CreateUbuntuTestNode(JOB_ID) jenkinsLib.CreateUbuntuTestNode(JOB_ID)
} }
@ -142,7 +142,7 @@ pipeline
script script
{ {
JOB_ID = "${env.BUILD_TAG}" JOB_ID = "${env.BUILD_TAG}"
jenkinsLib = load("/home/jenkins/jenkins424.groovy") jenkinsLib = load("/home/jenkins/jenkins.groovy")
jenkinsLib.DeleteUbuntuTestNode(JOB_ID) jenkinsLib.DeleteUbuntuTestNode(JOB_ID)
} }
@ -199,7 +199,7 @@ pipeline
script script
{ {
JOB_ID = "${env.BUILD_TAG}" JOB_ID = "${env.BUILD_TAG}"
jenkinsLib = load("/home/jenkins/jenkins424.groovy") jenkinsLib = load("/home/jenkins/jenkins.groovy")
jenkinsLib.DeleteUbuntuBuildNode(JOB_ID) jenkinsLib.DeleteUbuntuBuildNode(JOB_ID)
} }
@ -316,7 +316,7 @@ pipeline
script script
{ {
JOB_ID = "${env.BUILD_TAG}" JOB_ID = "${env.BUILD_TAG}"
jenkinsLib = load("/home/jenkins/jenkins424.groovy") jenkinsLib = load("/home/jenkins/jenkins.groovy")
jenkinsLib.DeleteWindowsBuildNode(JOB_ID) jenkinsLib.DeleteWindowsBuildNode(JOB_ID)
} }