Skip to content

Commit b24c405

Browse files
committed
setting agent to 'any'
1 parent 4fcbdcc commit b24c405

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Jenkinsfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
pipeline {
2+
agent {
3+
label config["label"]
4+
}
5+
environment {
6+
CI = 'true'
7+
}
8+
stages {
9+
stage('Build') {
10+
steps {
11+
sh 'npm install'
12+
}
13+
}
14+
stage('Test') {
15+
steps {
16+
sh './jenkins/scripts/test.sh'
17+
}
18+
}
19+
stage('Deliver') {
20+
steps {
21+
sh './jenkins/scripts/deliver.sh'
22+
input message: 'Finished using the web site? (Click "Proceed" to continue)'
23+
sh './jenkins/scripts/kill.sh'
24+
}
25+
}
26+
}
27+
}

0 commit comments

Comments
 (0)