@@ -239,8 +239,8 @@ pipeline {
239239 always {
240240 stash name : ' general-result' , includes : " ${ OUTPUT_DIR_RELATIVE} /commentfile"
241241 // Has to be relative to WORKSPACE.
242- archive " ${ env.OUTPUT_DIR_RELATIVE} /*"
243- archive " ${ env.OUTPUT_DIR_RELATIVE} /**/*"
242+ archiveArtifacts artifacts : " ${ env.OUTPUT_DIR_RELATIVE} /*"
243+ archiveArtifacts artifacts : " ${ env.OUTPUT_DIR_RELATIVE} /**/*"
244244 publishHTML target : [
245245 allowMissing : true ,
246246 keepAll : true ,
@@ -320,8 +320,8 @@ pipeline {
320320 fi
321321'''
322322 // Has to be relative to WORKSPACE.
323- archive " ${ env.OUTPUT_DIR_RELATIVE} /*"
324- archive " ${ env.OUTPUT_DIR_RELATIVE} /**/*"
323+ archiveArtifacts artifacts : " ${ env.OUTPUT_DIR_RELATIVE} /*"
324+ archiveArtifacts artifacts : " ${ env.OUTPUT_DIR_RELATIVE} /**/*"
325325 publishHTML target : [
326326 allowMissing : true ,
327327 keepAll : true ,
@@ -400,8 +400,8 @@ pipeline {
400400 fi
401401'''
402402 // Has to be relative to WORKSPACE.
403- archive " ${ env.OUTPUT_DIR_RELATIVE} /*"
404- archive " ${ env.OUTPUT_DIR_RELATIVE} /**/*"
403+ archiveArtifacts artifacts : " ${ env.OUTPUT_DIR_RELATIVE} /*"
404+ archiveArtifacts artifacts : " ${ env.OUTPUT_DIR_RELATIVE} /**/*"
405405 publishHTML target : [
406406 allowMissing : true ,
407407 keepAll : true ,
@@ -487,8 +487,8 @@ pipeline {
487487 fi
488488'''
489489 // Has to be relative to WORKSPACE.
490- archive " ${ env.OUTPUT_DIR_RELATIVE} /*"
491- archive " ${ env.OUTPUT_DIR_RELATIVE} /**/*"
490+ archiveArtifacts artifacts : " ${ env.OUTPUT_DIR_RELATIVE} /*"
491+ archiveArtifacts artifacts : " ${ env.OUTPUT_DIR_RELATIVE} /**/*"
492492 publishHTML target : [
493493 allowMissing : true ,
494494 keepAll : true ,
@@ -620,10 +620,10 @@ pipeline {
620620 post {
621621 always {
622622 stash name : ' srctarball-result' , includes : " output-srctarball/commentfile,output-integration/commentfile"
623- archive ' output-srctarball/*'
624- archive ' output-srctarball/**/*'
625- archive ' output-integration/*'
626- archive ' output-integration/**/*'
623+ archiveArtifacts artifacts : ' output-srctarball/*'
624+ archiveArtifacts artifacts : ' output-srctarball/**/*'
625+ archiveArtifacts artifacts : ' output-integration/*'
626+ archiveArtifacts artifacts : ' output-integration/**/*'
627627 }
628628 }
629629 }
0 commit comments