@ -1,6 +1,5 @@
pipeline {
agent any
tools {nodejs "Node 16.18"}
stages {
stage('Env reinit') {
steps {
@ -31,15 +30,20 @@ cat ./.env'''
stage('build') {
sh '''ls -l'''
sh 'ls -l'
}
stage('build2') {
sh '''ls -l
sh '''npm install
npm install
npm run build
npm build'''
npm run start'''
tools {
nodejs 'Node 16.18'