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