Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Prevent unbound variable error on create-netrc.sh
[releng/global-jjb.git]
/
jjb
/
lf-python-jobs.yaml
diff --git
a/jjb/lf-python-jobs.yaml
b/jjb/lf-python-jobs.yaml
index
fecaeff
..
680228a
100644
(file)
--- a/
jjb/lf-python-jobs.yaml
+++ b/
jjb/lf-python-jobs.yaml
@@
-102,12
+102,20
@@
gerrit_clm_triggers:
- comment-added-contains-event:
comment-contains-value: run-clm$
gerrit_clm_triggers:
- comment-added-contains-event:
comment-contains-value: run-clm$
+ gerrit_trigger_file_paths:
+ - compare-type: ANT
+ pattern: '**'
#####################
# Job Configuration #
#####################
parameters:
#####################
# Job Configuration #
#####################
parameters:
+ - lf-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ stream: '{stream}'
+ lftools-version: '{lftools-version}'
- string:
name: NEXUS_IQ_CLI_VERSION
default: '{nexus-iq-cli-version}'
- string:
name: NEXUS_IQ_CLI_VERSION
default: '{nexus-iq-cli-version}'
@@
-125,6
+133,7
@@
branches:
- branch-compare-type: ANT
branch-pattern: '**/{branch}'
branches:
- branch-compare-type: ANT
branch-pattern: '**/{branch}'
+ file-paths: '{obj:gerrit_trigger_file_paths}'
skip-vote:
successful: true
failed: true
skip-vote:
successful: true
failed: true
@@
-211,7
+220,7
@@
python-version: python2
mvn-global-settings: global-settings
mvn-settings: '{mvn-settings}'
python-version: python2
mvn-global-settings: global-settings
mvn-settings: '{mvn-settings}'
- mvn-version: mvn3
3
+ mvn-version: mvn3
5
sonar-mvn-goal: 'sonar:sonar'
stream: master
submodule-recursive: true
sonar-mvn-goal: 'sonar:sonar'
stream: master
submodule-recursive: true
@@
-219,6
+228,9
@@
gerrit_sonar_triggers:
- comment-added-contains-event:
comment-contains-value: run-sonar$
gerrit_sonar_triggers:
- comment-added-contains-event:
comment-contains-value: run-sonar$
+ gerrit_trigger_file_paths:
+ - compare-type: ANT
+ pattern: '**'
#####################
# Job Configuration #
#####################
# Job Configuration #
@@
-260,6
+272,7
@@
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/master'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/master'
+ file-paths: '{obj:gerrit_trigger_file_paths}'
skip-vote:
successful: true
failed: true
skip-vote:
successful: true
failed: true
@@
-430,6
+443,11
@@
- draft-published-event
- comment-added-contains-event:
comment-contains-value: recheck$
- draft-published-event
- comment-added-contains-event:
comment-contains-value: recheck$
+ gerrit_trigger_file_paths:
+ - compare-type: ANT
+ pattern: '**'
+
+ parallel: true
#####################
# Job Configuration #
#####################
# Job Configuration #
@@
-444,6
+462,13
@@
submodule-recursive: '{submodule-recursive}'
choosing-strategy: gerrit
submodule-recursive: '{submodule-recursive}'
choosing-strategy: gerrit
+ parameters:
+ - bool:
+ name: PARALLEL
+ default: '{parallel}'
+ description: Tox test type used to configure serial or parallel testing.
+
+
triggers:
- gerrit:
server-name: '{gerrit-server-name}'
triggers:
- gerrit:
server-name: '{gerrit-server-name}'
@@
-454,6
+479,7
@@
branches:
- branch-compare-type: ANT
branch-pattern: '**/{branch}'
branches:
- branch-compare-type: ANT
branch-pattern: '**/{branch}'
+ file-paths: '{obj:gerrit_trigger_file_paths}'
- job-template:
# Python projects typically use tox to run testing.
- job-template:
# Python projects typically use tox to run testing.