Added Jenkinsfile

This commit is contained in:
dandanalaa committed 2022-12-10 21:31:20 +00:00
1 parent 9d0579a662
commit fbcc5b56be
1 file changed
+4 -3
Vendored
+4 -3
View File
@@ -28,11 +28,11 @@ cat ./.env'''
}
}
stage('test') {
stage('test') {
steps {
sh '''npm test:ci '''
sh 'npm run test:ci'
}
}
}
stage('build') {
steps {
@@ -41,6 +41,7 @@ npm run build
npm start & sleep 100'''
}
}
}
tools {
nodejs 'Node 16.18'