From e047c981143ecefed5dccf1ec2a0927ad8e4223b Mon Sep 17 00:00:00 2001 From: Primakov Alexandr Alexandrovich Date: Wed, 16 Oct 2024 11:20:20 +0300 Subject: [PATCH] fix --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6f680c4..73de8aa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,7 @@ pipeline { agent { docker { - image 'node:18' + image 'node:20' } } @@ -10,7 +10,7 @@ pipeline { steps { sh 'node -v' sh 'npm -v' - sh 'npm install' + sh 'npm ci' } } @@ -27,9 +27,11 @@ pipeline { } stage('archiving') { + steps { script { archiveArtifacts artifacts: 'coverage/*/**' } + } } stage('clean-all') {