HBASE-23114 Use archiveArtifacts in Jenkinsfiles (#681)
Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
parent
3025c4250c
commit
14d58e2e64
|
@ -238,8 +238,8 @@ pipeline {
|
|||
always {
|
||||
stash name: 'general-result', includes: "${OUTPUT_DIR_RELATIVE}/commentfile"
|
||||
// Has to be relative to WORKSPACE.
|
||||
archive "${env.OUTPUT_DIR_RELATIVE}/*"
|
||||
archive "${env.OUTPUT_DIR_RELATIVE}/**/*"
|
||||
archiveArtifacts artifacts: "${env.OUTPUT_DIR_RELATIVE}/*"
|
||||
archiveArtifacts artifacts: "${env.OUTPUT_DIR_RELATIVE}/**/*"
|
||||
publishHTML target: [
|
||||
allowMissing: true,
|
||||
keepAll: true,
|
||||
|
@ -319,8 +319,8 @@ pipeline {
|
|||
fi
|
||||
'''
|
||||
// Has to be relative to WORKSPACE.
|
||||
archive "${env.OUTPUT_DIR_RELATIVE}/*"
|
||||
archive "${env.OUTPUT_DIR_RELATIVE}/**/*"
|
||||
archiveArtifacts artifacts: "${env.OUTPUT_DIR_RELATIVE}/*"
|
||||
archiveArtifacts artifacts: "${env.OUTPUT_DIR_RELATIVE}/**/*"
|
||||
publishHTML target: [
|
||||
allowMissing : true,
|
||||
keepAll : true,
|
||||
|
@ -399,8 +399,8 @@ pipeline {
|
|||
fi
|
||||
'''
|
||||
// Has to be relative to WORKSPACE.
|
||||
archive "${env.OUTPUT_DIR_RELATIVE}/*"
|
||||
archive "${env.OUTPUT_DIR_RELATIVE}/**/*"
|
||||
archiveArtifacts artifacts: "${env.OUTPUT_DIR_RELATIVE}/*"
|
||||
archiveArtifacts artifacts: "${env.OUTPUT_DIR_RELATIVE}/**/*"
|
||||
publishHTML target: [
|
||||
allowMissing : true,
|
||||
keepAll : true,
|
||||
|
@ -486,8 +486,8 @@ pipeline {
|
|||
fi
|
||||
'''
|
||||
// Has to be relative to WORKSPACE.
|
||||
archive "${env.OUTPUT_DIR_RELATIVE}/*"
|
||||
archive "${env.OUTPUT_DIR_RELATIVE}/**/*"
|
||||
archiveArtifacts artifacts: "${env.OUTPUT_DIR_RELATIVE}/*"
|
||||
archiveArtifacts artifacts: "${env.OUTPUT_DIR_RELATIVE}/**/*"
|
||||
publishHTML target: [
|
||||
allowMissing : true,
|
||||
keepAll : true,
|
||||
|
@ -619,10 +619,10 @@ pipeline {
|
|||
post {
|
||||
always {
|
||||
stash name: 'srctarball-result', includes: "output-srctarball/commentfile,output-integration/commentfile"
|
||||
archive 'output-srctarball/*'
|
||||
archive 'output-srctarball/**/*'
|
||||
archive 'output-integration/*'
|
||||
archive 'output-integration/**/*'
|
||||
archiveArtifacts artifacts: 'output-srctarball/*'
|
||||
archiveArtifacts artifacts: 'output-srctarball/**/*'
|
||||
archiveArtifacts artifacts: 'output-integration/*'
|
||||
archiveArtifacts artifacts: 'output-integration/**/*'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,11 +81,11 @@ pipeline {
|
|||
}
|
||||
post {
|
||||
always {
|
||||
archive 'output/*'
|
||||
archive 'output/**/*'
|
||||
archiveArtifacts artifacts: 'output/*'
|
||||
archiveArtifacts artifacts: 'output/**/*'
|
||||
}
|
||||
failure {
|
||||
archive 'component/**/target/surefire-reports/*'
|
||||
archiveArtifacts artifacts: 'component/**/target/surefire-reports/*'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ pipeline {
|
|||
post {
|
||||
always {
|
||||
// Has to be relative to WORKSPACE.
|
||||
archive "includes,excludes,dashboard.html"
|
||||
archiveArtifacts artifacts: "includes,excludes,dashboard.html"
|
||||
publishHTML target: [
|
||||
allowMissing: true,
|
||||
keepAll: true,
|
||||
|
|
|
@ -73,7 +73,7 @@ pipeline {
|
|||
always {
|
||||
junit testResults: "**/surefire-reports/*.xml", allowEmptyResults: true
|
||||
// TODO compress these logs
|
||||
archive 'includes.txt,**/surefire-reports/*,**/test-data/*,target/machine/*'
|
||||
archiveArtifacts artifacts: 'includes.txt,**/surefire-reports/*,**/test-data/*,target/machine/*'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue