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'
|
sh './scripts/ci/build-cleanup'
|
||||||
echo 'Reverting ownership'
|
echo 'Reverting ownership'
|
||||||
sh 'docker run --rm -v $(pwd):/data jc21/gotools:latest chown -R "$(id -u):$(id -g)" /data'
|
sh 'docker run --rm -v $(pwd):/data jc21/gotools:latest chown -R "$(id -u):$(id -g)" /data'
|
||||||
}
|
printResult()
|
||||||
success {
|
|
||||||
juxtapose event: 'success'
|
|
||||||
printSuccess()
|
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
dir(path: 'test') {
|
dir(path: 'test') {
|
||||||
archiveArtifacts allowEmptyArchive: true, artifacts: 'results/**/*', excludes: '**/*.xml'
|
archiveArtifacts allowEmptyArchive: true, artifacts: 'results/**/*', excludes: '**/*.xml'
|
||||||
}
|
}
|
||||||
archiveArtifacts(artifacts: 'debug/*', allowEmptyArchive: true)
|
archiveArtifacts(artifacts: 'debug/*', allowEmptyArchive: true)
|
||||||
juxtapose event: 'failure'
|
|
||||||
printFailure()
|
|
||||||
}
|
}
|
||||||
unstable {
|
unstable {
|
||||||
dir(path: 'test') {
|
dir(path: 'test') {
|
||||||
archiveArtifacts allowEmptyArchive: true, artifacts: 'results/**/*', excludes: '**/*.xml'
|
archiveArtifacts allowEmptyArchive: true, artifacts: 'results/**/*', excludes: '**/*.xml'
|
||||||
}
|
}
|
||||||
archiveArtifacts(artifacts: 'debug/*', allowEmptyArchive: true)
|
archiveArtifacts(artifacts: 'debug/*', allowEmptyArchive: true)
|
||||||
juxtapose event: 'unstable'
|
|
||||||
printUnstable()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user