1 changed files with 26 additions and 0 deletions
@ -0,0 +1,26 @@ |
|||||
|
pipeline { |
||||
|
agent { label 'Ubuntu18-openjdk1.8'} |
||||
|
|
||||
|
environment { |
||||
|
CI = 'true' |
||||
|
} |
||||
|
stages { |
||||
|
stage('Build') { |
||||
|
steps { |
||||
|
sh 'npm install' |
||||
|
} |
||||
|
} |
||||
|
stage('Test') { |
||||
|
steps { |
||||
|
sh './jenkins/scripts/test.sh' |
||||
|
} |
||||
|
} |
||||
|
stage('Deliver') { |
||||
|
steps { |
||||
|
sh './jenkins/scripts/deliver.sh' |
||||
|
input message: 'Finished using the web site? (Click "Proceed" to continue)' |
||||
|
sh './jenkins/scripts/kill.sh' |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue