We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf740d7 commit fe68016Copy full SHA for fe68016
Jenkinsfile
@@ -1,25 +1,29 @@
1
pipeline {
2
agent {
3
docker {
4
- image 'node:6-alpine'
5
- args '-p 3000:3000'
+ image 'node:6-alpine'
+ args '-p 3000:3000'
6
}
7
8
-
9
- environment {
+ environment {
10
CI = 'true'
11
12
13
stages {
14
- stage('Build') {
+ stage('Build') {
15
steps {
16
- sh 'npm install'
+ sh 'yarn'
17
18
19
20
- stage('Test') {
+ stage('Test') {
21
22
- sh './jenkins/scripts/test.sh'
+ sh './jenkins/scripts/test.sh'
+ }
+ 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
0 commit comments