[Asterisk-code-review] jenkins: Fix unittests cleanup. (asterisk[master])

Corey Farrell asteriskteam at digium.com
Wed Oct 3 15:53:14 CDT 2018


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/10415


Change subject: jenkins: Fix unittests cleanup.
......................................................................

jenkins: Fix unittests cleanup.

The unittests cleanup contained '2&> /dev/null', the '&' does not belong
here and was causing the command to run in the background.
'2>/dev/null' is the correct syntax to redirect stderr.

Change-Id: I2e3a591b165e0288c4b82b9ef475fdfd5392a90a
---
M tests/CI/unittests.jenkinsfile
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/15/10415/1

diff --git a/tests/CI/unittests.jenkinsfile b/tests/CI/unittests.jenkinsfile
index 8cf9f4a..c2eef3c 100644
--- a/tests/CI/unittests.jenkinsfile
+++ b/tests/CI/unittests.jenkinsfile
@@ -169,8 +169,8 @@
 	}
 	post {
 		cleanup {
-			sh "sudo make distclean 2&>/dev/null || : "
-			sh "sudo rm -rf tests/CI/output 2&>/dev/null || : "
+			sh "sudo make distclean 2>/dev/null || : "
+			sh "sudo rm -rf tests/CI/output 2>/dev/null || : "
 		}
 		/*
 		 * The Gerrit Trigger will automatically post the "Verified" results back

-- 
To view, visit https://gerrit.asterisk.org/10415
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2e3a591b165e0288c4b82b9ef475fdfd5392a90a
Gerrit-Change-Number: 10415
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181003/93371824/attachment.html>


More information about the asterisk-code-review mailing list