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

This commit is contained in:
George Joseph
2018-10-04 09:40:59 -05:00
committed by Gerrit Code Review
4 changed files with 8 additions and 8 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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"

View File

@@ -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