test Jenkinsfile
This commit is contained in:
parent
c39f779e35
commit
d0061734f3
|
@ -1,11 +1,30 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'node:6-alpine'
|
||||||
|
args '-p 3000:3000'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
environment {
|
||||||
|
CI = 'true'
|
||||||
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Do nothing') {
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh 'npm install'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Test') {
|
||||||
steps {
|
steps {
|
||||||
sh '/bin/true'
|
sh '/bin/true'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
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