This commit is contained in:
Primakov Alexandr Alexandrovich 2024-10-16 11:20:20 +03:00
parent afc782f50f
commit e047c98114

6
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
pipeline { pipeline {
agent { agent {
docker { docker {
image 'node:18' image 'node:20'
} }
} }
@ -10,7 +10,7 @@ pipeline {
steps { steps {
sh 'node -v' sh 'node -v'
sh 'npm -v' sh 'npm -v'
sh 'npm install' sh 'npm ci'
} }
} }
@ -27,10 +27,12 @@ pipeline {
} }
stage('archiving') { stage('archiving') {
steps {
script { script {
archiveArtifacts artifacts: 'coverage/*/**' archiveArtifacts artifacts: 'coverage/*/**'
} }
} }
}
stage('clean-all') { stage('clean-all') {
steps { steps {