Skip to content

Commit d7726aa

Browse files
committed
kick
1 parent 998a172 commit d7726aa

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Jenkinsfile

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

0 commit comments

Comments
 (0)