Added Jenkinsfile

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

13
Jenkinsfile vendored

@ -1,10 +1,5 @@
pipeline { pipeline {
agent { agent any
node {
label 'npm'
}
}
stages { stages {
stage('Env reinit') { stage('Env reinit') {
steps { steps {
@ -35,12 +30,10 @@ cat ./.env'''
stage('build') { stage('build') {
steps { 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