Mise à jour de 'Jenkinsfile'
This commit is contained in:
1 parent
bc0df4bd35
commit
3270b44f1d
1 file changed
+6
-1
Vendored
+6
-1
@@ -1,5 +1,6 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
|
tools {nodejs "Node 16.18"}
|
||||||
stages {
|
stages {
|
||||||
stage('Env reinit') {
|
stage('Env reinit') {
|
||||||
steps {
|
steps {
|
||||||
@@ -29,12 +30,16 @@ cat ./.env'''
|
|||||||
}
|
}
|
||||||
|
|
||||||
stage('build') {
|
stage('build') {
|
||||||
|
steps {
|
||||||
|
sh '''ls -l'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('build2') {
|
||||||
steps {
|
steps {
|
||||||
sh '''ls -l
|
sh '''ls -l
|
||||||
npm install
|
npm install
|
||||||
npm build'''
|
npm build'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user