Added Jenkinsfile

feature/testing
dandan 4 years ago
parent f654da8a20
commit 4a9afcc6a7

13
Jenkinsfile vendored

@ -1,10 +1,5 @@
pipeline {
agent {
node {
label 'npm'
}
}
agent any
stages {
stage('Env reinit') {
steps {
@ -35,12 +30,10 @@ cat ./.env'''
stage('build') {
steps {
mail(subject: 'Bonjour', body: 'mail envoyer', bcc: 'dandanalaa@hotmail.fr', cc: 'dandanalaa@hotmail.fr', charset: 'UTF-8')
sh '''npm install
npm build'''
}
}
}
environment {
npm = 'install'
}
}
Loading…
Cancel
Save