Code Review
/
infra
/
cicd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
cloud-infra: Switch engine lint jenkins jobs to tox
[infra/cicd.git]
/
jjb
/
cloud-infra
/
cloud-infra-engine-verify-lint.yaml
diff --git
a/jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml
b/jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml
index 01f3c42ef6112dadc7bd40b7ca71e937e89c337d..e766c01737f1906cf52fe285d66c0d3889143912 100644
(file)
--- a/
jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml
+++ b/
jjb/cloud-infra/cloud-infra-engine-verify-lint.yaml
@@
-28,21
+28,9
@@
disabled: false
lint-type:
disabled: false
lint-type:
- - ansible-lint:
- successful: false
- failed: false
- unstable: false
- notbuilt: false
- - yaml-lint:
- successful: true
- failed: true
- unstable: true
- notbuilt: true
- - shellcheck:
- successful: true
- failed: true
- unstable: true
- notbuilt: true
+ - ansible-lint
+ - yamllint
+ - shellcheck
jobs:
- 'cloud-infra-verify-engine-{lint-type}-{stream}'
jobs:
- 'cloud-infra-verify-engine-{lint-type}-{stream}'
@@
-61,6
+49,10
@@
project: '{project}'
branch: '{branch}'
- nordix-gerrit-parameters
project: '{project}'
branch: '{branch}'
- nordix-gerrit-parameters
+ - string:
+ name: LINT_TYPE
+ default: '{lint-type}'
+ description: 'Lint type to run'
properties:
- logrotate
properties:
- logrotate
@@
-100,14
+92,9
@@
file-paths:
- compare-type: 'ANT'
pattern: '**'
file-paths:
- compare-type: 'ANT'
pattern: '**'
- skip-vote:
- successful: '{obj:successful}'
- failed: '{obj:failed}'
- unstable: '{obj:unstable}'
- notbuilt: '{obj:notbuilt}'
custom-url: '* $JOB_NAME $BUILD_URL'
builders:
custom-url: '* $JOB_NAME $BUILD_URL'
builders:
- - 'cloud-infra-
{lint-type}
-macro'
+ - 'cloud-infra-
lint
-macro'
# vim: set ts=2 sw=2 expandtab:
# vim: set ts=2 sw=2 expandtab: