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