[Pkg-owncloud-commits] [owncloud] 96/205: Use non-zero exit code when app is not compliant (so CIs can detect the status)

David Prévot taffit at moszumanska.debian.org
Thu Jul 2 17:37:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit e5bc50d1567accbeffd1fa1e2fc811f329f8e898
Author: Joas Schilling <nickvergessen at owncloud.com>
Date:   Wed Jun 24 11:59:43 2015 +0200

    Use non-zero exit code when app is not compliant (so CIs can detect the status)
---
 core/command/app/checkcode.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/command/app/checkcode.php b/core/command/app/checkcode.php
index 6d10714..9e55144 100644
--- a/core/command/app/checkcode.php
+++ b/core/command/app/checkcode.php
@@ -73,6 +73,7 @@ class CheckCode extends Command {
 			$output->writeln('<info>App is compliant - awesome job!</info>');
 		} else {
 			$output->writeln('<error>App is not compliant</error>');
+			return 1;
 		}
 	}
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list