cloud-infra: Enable voting for ansible-lint job
ansible-lint job is now a voting job so if a lint issue is identified,
the job will vote Verified-1 the patch.
Please note that, ansible-lint is enabled only for infra/engine repo
and enablement of it for infra/swconfig, infra/hwconfig, and infra/test
is still pending.
Change-Id: Id461ef9c7466431739bc70bf7ef3ff746fae5142
diff --git a/jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml b/jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml
index ed0121f..f6b4a54 100644
--- a/jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml
+++ b/jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml
@@ -26,15 +26,19 @@
- 'master':
branch: '{stream}'
disabled: false
+
+ lint-type:
+ - ansible-lint:
+ successful: false
+ failed: false
+ unstable: false
+ notbuilt: false
+ - shellcheck:
successful: true
failed: true
unstable: true
notbuilt: true
- lint-type:
- - ansible-lint
- - shellcheck
-
jobs:
- 'cloud-infra-verify-engine-{lint-type}-{stream}'