mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
jenkins: Fix cleanup command redirection.
Fix redirection to /dev/null of cleanup commands. The '2' was being interpreted as part of the command instead of part of the redirect. Change-Id: I2e3a591b165e0288c4b82b9ef475fdfd5392a90a
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user