mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-07-07 10:15:45 +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 {
|
post {
|
||||||
always {
|
always {
|
||||||
|
sh "sudo chown -R jenkins.jenkins ${WORKSPACE}"
|
||||||
deleteDir()
|
deleteDir()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user