cloud-infra: Switch engine lint jenkins jobs to tox
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-engine-verify-lint.yaml
index ed0121f0dfd6db1af01c8da123d2c9762eb63d7e..e766c01737f1906cf52fe285d66c0d3889143912 100644 (file)
       - 'master':
           branch: '{stream}'
           disabled: false
-          successful: true
-          failed: true
-          unstable: true
-          notbuilt: true
 
     lint-type:
       - ansible-lint
+      - yamllint
       - shellcheck
 
     jobs:
           project: '{project}'
           branch: '{branch}'
       - nordix-gerrit-parameters
+      - string:
+          name: LINT_TYPE
+          default: '{lint-type}'
+          description: 'Lint type to run'
 
     properties:
       - logrotate
               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:
-      - 'cloud-infra-{lint-type}-macro'
+      - 'cloud-infra-lint-macro'
 
 # vim: set ts=2 sw=2 expandtab: