From: Michal Jagiello Date: Mon, 18 Jan 2021 07:55:30 +0000 (+0000) Subject: Use Python job to run tests in dcaegen2/collectors/snmptrap X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=fb4d9103b4f1ebb589e5030aff62720fe2a618bf;p=ci-management.git Use Python job to run tests in dcaegen2/collectors/snmptrap It allows to run tests using Python >= 3.8 Issue-ID: DCAEGEN2-2494 Signed-off-by: Michal Jagiello Change-Id: I49d88fc8cc86c6908eb36c24560301f54984c4bf --- diff --git a/jjb/dcaegen2/dcaegen2-collectors-snmptrap.yaml b/jjb/dcaegen2/dcaegen2-collectors-snmptrap.yaml index adf63106b..f15beeffd 100644 --- a/jjb/dcaegen2/dcaegen2-collectors-snmptrap.yaml +++ b/jjb/dcaegen2/dcaegen2-collectors-snmptrap.yaml @@ -2,28 +2,28 @@ - project: name: dcaegen2-collectors-snmptrap project-name: 'dcaegen2-collectors-snmptrap' - jobs: - - '{project-name}-{stream}-verify-java' - - '{project-name}-{stream}-merge-java' - - '{project-name}-{stream}-release-version-java-daily' - - '{project-name}-gerrit-release-jobs': - build-node: centos7-docker-8c-8g - project: 'dcaegen2/collectors/snmptrap' + python-version: python3.6 + tox-dir: '.' + tox-envs: '' stream: - 'master': branch: 'master' - 'guilin': branch: 'guilin' + build-node: ubuntu1804-docker-8c-8g mvn-settings: 'dcaegen2-collectors-snmptrap-settings' - # due to a strange macro / variable translation problem this needs - # to be passed as a string block to properly get the properties - # correctly defined in the job - maven-deploy-properties: | - deployAtEnd=true + subproject: + - 'snmptrap': + pattern: '**' + path: 'snmptrap' + jobs: + - '{project-name}-{stream}-{subproject}-verify-python' + - '{project-name}-{subproject}-python-staging-{stream}' + - '{project-name}-{subproject}-python-release-{stream}' + - '{project-name}-{stream}-release-version-java-daily' files: '**' archive-artifacts: '' - build-node: 'ubuntu1804-docker-8c-8g' - project: name: dcaegen2-collectors-snmptrap-sonar