X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=jjb%2Fdemo%2Fdemo.yaml;h=305ca378b6c733fec18bdb8202b78037681fca58;hb=997e47ccd0593bd7d5fa209fc5ed5fe20cc7f50f;hp=fffa81d26864d35b23e55e8abcd7f46b92f6012a;hpb=c6b11dc42240cd9ce760a07465721a90e7856368;p=ci-management.git diff --git a/jjb/demo/demo.yaml b/jjb/demo/demo.yaml index fffa81d26..305ca378b 100644 --- a/jjb/demo/demo.yaml +++ b/jjb/demo/demo.yaml @@ -36,7 +36,7 @@ sonarcloud-project-organization: '{sonarcloud_project_organization}' sonarcloud-api-token: '{sonarcloud_api_token}' sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}' - sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar" + sonar-mvn-goal: '{sonar_mvn_goal}' cron: '@daily' build-node: ubuntu1604-builder-4c-4g project: 'demo' @@ -51,5 +51,34 @@ project-name: demo jobs: - gerrit-info-yaml-verify + build-node: centos7-builder-2c-1g project: demo branch: master + +- project: + name: demo-linters + project: 'demo' + project-name: 'demo' + python-version: python3 + jobs: + - '{project-name}-{stream}-{subproject}-lint' + subproject: + - 'yaml': + tox-dir: '.' + tox-envs: 'yaml' + pattern: '**/*.yaml' + - 'yml': + tox-dir: '.' + tox-envs: 'yaml' + pattern: '**/*.yml' + - 'json': + tox-dir: '.' + tox-envs: 'json' + pattern: '**/*.json' + - 'python': + tox-dir: '.' + tox-envs: 'py' + pattern: '**/*.py' + stream: + - 'master': + branch: 'master'