Files
Landing-Page-Librography-Beta/Jenkinsfile
T
2021-11-16 01:08:38 -03:00

27 lines
631 B
Groovy

pipeline {
agent { label 'Ubuntu18-openjdk1.8'}
environment {
CI = 'true'
}
stages {
stage('Build') {
steps {
sh 'npm install -g npm@latest'
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'
}
}
}
}