mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-22 12:58:13 -05:00
CI tweaks
This commit is contained in:
parent
b37ef94c22
commit
bee6a83f33
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
@ -245,26 +245,19 @@ pipeline {
|
||||
sh './scripts/ci/build-cleanup'
|
||||
echo 'Reverting ownership'
|
||||
sh 'docker run --rm -v $(pwd):/data jc21/gotools:latest chown -R "$(id -u):$(id -g)" /data'
|
||||
}
|
||||
success {
|
||||
juxtapose event: 'success'
|
||||
printSuccess()
|
||||
printResult()
|
||||
}
|
||||
failure {
|
||||
dir(path: 'test') {
|
||||
archiveArtifacts allowEmptyArchive: true, artifacts: 'results/**/*', excludes: '**/*.xml'
|
||||
}
|
||||
archiveArtifacts(artifacts: 'debug/*', allowEmptyArchive: true)
|
||||
juxtapose event: 'failure'
|
||||
printFailure()
|
||||
}
|
||||
unstable {
|
||||
dir(path: 'test') {
|
||||
archiveArtifacts allowEmptyArchive: true, artifacts: 'results/**/*', excludes: '**/*.xml'
|
||||
}
|
||||
archiveArtifacts(artifacts: 'debug/*', allowEmptyArchive: true)
|
||||
juxtapose event: 'unstable'
|
||||
printUnstable()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user