summaryrefslogtreecommitdiffstats
path: root/jjb/dcaegen2/dcaegen2-collectors-snmptrap.yaml
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2021-01-18 07:55:30 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2021-01-22 22:38:16 +0000
commitfb4d9103b4f1ebb589e5030aff62720fe2a618bf (patch)
tree8bd259b5e046a99e6e90a6dee2604f19acfe8b99 /jjb/dcaegen2/dcaegen2-collectors-snmptrap.yaml
parenteb2f85ca6bb700973c530f21ff5092025f04885f (diff)
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 <michal.jagiello@t-mobile.pl> Change-Id: I49d88fc8cc86c6908eb36c24560301f54984c4bf
Diffstat (limited to 'jjb/dcaegen2/dcaegen2-collectors-snmptrap.yaml')
-rw-r--r--jjb/dcaegen2/dcaegen2-collectors-snmptrap.yaml26
1 files changed, 13 insertions, 13 deletions
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