summaryrefslogtreecommitdiffstats
path: root/jjb/csit/csit-tox.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/csit/csit-tox.yaml')
-rw-r--r--jjb/csit/csit-tox.yaml68
1 files changed, 68 insertions, 0 deletions
diff --git a/jjb/csit/csit-tox.yaml b/jjb/csit/csit-tox.yaml
new file mode 100644
index 000000000..cb7f648d3
--- /dev/null
+++ b/jjb/csit/csit-tox.yaml
@@ -0,0 +1,68 @@
+---
+- project:
+ name: csit-validate
+
+ jobs:
+ - 'csit-verify-tox-{stream}'
+
+ project: 'csit'
+ branch: 'master'
+ stream:
+ - master:
+ branch: 'master'
+ - '1901':
+ branch: 'rls1901'
+
+- job-template:
+ name: 'csit-verify-tox-{stream}'
+
+ project-type: freestyle
+ node: ubuntu1804-us
+ concurrent: true
+
+ build-discarder:
+ daysToKeep: '{build-days-to-keep}'
+ numToKeep: '{build-num-to-keep}'
+ artifactDaysToKeep: '{build-artifact-days-to-keep}'
+ artifactNumToKeep: '{build-artifact-num-to-keep}'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - gerrit-refspec-parameter
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: 'jenkins-gerrit-credentials'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+
+ wrappers:
+ - fdio-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ name: '{project}'
+ branch: '{branch}'
+
+ builders:
+ - shell:
+ ./resources/libraries/bash/entry/tox.sh
+
+ publishers:
+ - archive-artifacts:
+ artifacts: '*.log'
+ latest-only: false
+ # TODO: Remove this when a voting pylint difference checker
+ # with nice enough output is implemented.
+ - violations:
+ pylint:
+ min: 10
+ max: 250
+ unstable: 250
+ pattern: 'pylint.log'
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'