jenkins-bot has submitted this change and it was merged.

Change subject: operations-puppet-tabs now use perl regex
......................................................................


operations-puppet-tabs now use perl regex

Could not find how to match tab at start of line, but pcre knows how to
do it :-)

Change-Id: I81638b76409d235d06c131e700355fa61a8adf5d
---
M operations-puppet.yaml
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/operations-puppet.yaml b/operations-puppet.yaml
index a3ac4ac..701521f 100644
--- a/operations-puppet.yaml
+++ b/operations-puppet.yaml
@@ -108,7 +108,7 @@
          #!/bin/bash -e
          echo "Looking for tabulations in puppet manifests..."
          set -x
-         (grep --recursive -e '^\t' --exclude-dir='.git' --include='*.pp' .) 
&& HAS_TAB=1 || HAS_TAB=0
+         (grep --recursive -P '^\t' --exclude-dir='.git' --include='*.pp' .) 
&& HAS_TAB=1 || HAS_TAB=0
          exit $HAS_TAB
 
 - project:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I81638b76409d235d06c131e700355fa61a8adf5d
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to