Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/71799


Change subject: puppet-test-runner report success
......................................................................

puppet-test-runner report success

Change-Id: I2ce5463f12d786411bfb9da5fc503d1eebd72367
---
M bin/puppet-test-runner.sh
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/jenkins 
refs/changes/99/71799/1

diff --git a/bin/puppet-test-runner.sh b/bin/puppet-test-runner.sh
index 0dc46b4..dedf8dd 100755
--- a/bin/puppet-test-runner.sh
+++ b/bin/puppet-test-runner.sh
@@ -23,12 +23,13 @@
 #
 puppet_apply_noop() {
        manifest="$1"
-
-       echo "INFO: Invoking puppet on '$1'"
+       # Might make use of '--verbose --evaltrace'
        puppet apply --noop --modulepath="$MODULE_DIR" $manifest
 
        test_result=$?
-       [[ $test_result != 0 ]] && echo "ERROR: failed tests for '$manifest'"
+       [[ $test_result == 0 ]] \
+               && echo "SUCCESS: puppet applied '$manifest'" \
+               || echo "ERROR: failed tests for '$manifest'"
        return $test_result
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/71799
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ce5463f12d786411bfb9da5fc503d1eebd72367
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to