Skip to content
Snippets Groups Projects
Commit d85100ae authored by George Joseph's avatar George Joseph Committed by Gerrit Code Review
Browse files

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

parents 2c0123aa e1ce9974
Branches
Tags
No related merge requests found
......@@ -215,8 +215,8 @@ pipeline {
}
post {
cleanup {
sh "sudo make distclean 2&>/dev/null || : "
sh "sudo rm -rf tests/CI/output 2&>/dev/null || : "
sh "sudo make distclean >/dev/null 2>&1 || : "
sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "
}
/*
* The Gerrit Trigger will automatically post the "Verified" results back
......
......@@ -140,8 +140,8 @@ pipeline {
}
post {
cleanup {
sh "sudo make distclean 2&>/dev/null || : "
sh "sudo rm -rf tests/CI/output 2&>/dev/null || : "
sh "sudo make distclean >/dev/null 2>&1 || : "
sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "
}
success {
echo "Reporting ${currentBuild.currentResult} Passed"
......
......@@ -115,8 +115,8 @@ pipeline {
}
post {
cleanup {
sh "sudo make distclean 2&>/dev/null || : "
sh "sudo rm -rf tests/CI/output 2&>/dev/null || : "
sh "sudo make distclean >/dev/null 2>&1 || : "
sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "
}
success {
echo "Reporting ${currentBuild.currentResult} Passed"
......
......@@ -169,8 +169,8 @@ pipeline {
}
post {
cleanup {
sh "sudo make distclean 2&>/dev/null || : "
sh "sudo rm -rf tests/CI/output 2&>/dev/null || : "
sh "sudo make distclean >/dev/null 2>&1 || : "
sh "sudo rm -rf tests/CI/output >/dev/null 2>&1 || : "
}
/*
* The Gerrit Trigger will automatically post the "Verified" results back
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment