mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +00:00
Jenkinsfile: chown the workspace before cleaning up
If the build was aborted then the dev_cli.sh code that is responsible for changing the file ownership will not get run. This results in the failure to delete some of the files in the workspace. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
b9fbcd469c
commit
7b621bde4f
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -104,6 +104,7 @@ pipeline{
|
||||
}
|
||||
post {
|
||||
always {
|
||||
sh "sudo chown -R jenkins.jenkins ${WORKSPACE}"
|
||||
deleteDir()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user