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

Change subject: Use specific pywikibot pyflakes configuration
......................................................................


Use specific pywikibot pyflakes configuration

Copy pasting from '{name}-pyflakes' job-templates, we simply override
the builder.

Change-Id: Ib9977a26ef53010caacaed1e6fb0daf04649062f
---
M pywikibot.yaml
1 file changed, 18 insertions(+), 0 deletions(-)

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



diff --git a/pywikibot.yaml b/pywikibot.yaml
index b1fe210..c1846eb 100644
--- a/pywikibot.yaml
+++ b/pywikibot.yaml
@@ -32,6 +32,22 @@
         # hack to make sure we do not download dependencies from pip
         http_proxy=nowhere https_proxy=nowhere python setup.py test
 
+- job-template:
+    name: 'pywikibot-core-pyflakes'
+    node: hasContintPackages
+    defaults: use-remote-zuul
+
+    triggers:
+     - zuul
+
+    scm:
+     - git-remote-zuul-no-submodules
+
+    builders:
+    # Zuul uses Python str.format(obj) for {config} substitutions
+    # Escape as {foo} as {{key}} to avoid triggering a KeyError in Zuul parser
+     - shell: pyflakes pywikibot scripts tests
+
 - project:
     name: pywikibot-compat
 
@@ -44,6 +60,8 @@
     jobs:
      - python-jobs
      - pywikibot-core-tests
+     # Override pyflakes jobs that comes from `python-jobs`
+     - pywikibot-core-pyflakes
 
 - project:
     name: pywikibot-i18n

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib9977a26ef53010caacaed1e6fb0daf04649062f
Gerrit-PatchSet: 3
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to