Merge "jenkins: Fix cleanup command redirection." into 13

13.24
George Joseph 7 years ago committed by Gerrit Code Review
commit d85100aed0

@ -215,8 +215,8 @@ pipeline {
} }
post { post {
cleanup { cleanup {
sh "sudo make distclean 2&>/dev/null || : " sh "sudo make distclean >/dev/null 2>&1 || : "
sh "sudo rm -rf tests/CI/output 2&>/dev/null || : " sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "
} }
/* /*
* The Gerrit Trigger will automatically post the "Verified" results back * The Gerrit Trigger will automatically post the "Verified" results back

@ -140,8 +140,8 @@ pipeline {
} }
post { post {
cleanup { cleanup {
sh "sudo make distclean 2&>/dev/null || : " sh "sudo make distclean >/dev/null 2>&1 || : "
sh "sudo rm -rf tests/CI/output 2&>/dev/null || : " sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "
} }
success { success {
echo "Reporting ${currentBuild.currentResult} Passed" echo "Reporting ${currentBuild.currentResult} Passed"

@ -115,8 +115,8 @@ pipeline {
} }
post { post {
cleanup { cleanup {
sh "sudo make distclean 2&>/dev/null || : " sh "sudo make distclean >/dev/null 2>&1 || : "
sh "sudo rm -rf tests/CI/output 2&>/dev/null || : " sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "
} }
success { success {
echo "Reporting ${currentBuild.currentResult} Passed" echo "Reporting ${currentBuild.currentResult} Passed"

@ -169,8 +169,8 @@ pipeline {
} }
post { post {
cleanup { cleanup {
sh "sudo make distclean 2&>/dev/null || : " sh "sudo make distclean >/dev/null 2>&1 || : "
sh "sudo rm -rf tests/CI/output 2&>/dev/null || : " sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "
} }
/* /*
* The Gerrit Trigger will automatically post the "Verified" results back * The Gerrit Trigger will automatically post the "Verified" results back

Loading…
Cancel
Save