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
Fix script indent to 4 spaces
[releng/global-jjb.git]
/
jjb
/
lf-python-jobs.yaml
diff --git
a/jjb/lf-python-jobs.yaml
b/jjb/lf-python-jobs.yaml
index
fc342de
..
12512d2
100644
(file)
--- a/
jjb/lf-python-jobs.yaml
+++ b/
jjb/lf-python-jobs.yaml
@@
-49,7
+49,6
@@
project: '{project}'
branch: '{branch}'
stream: '{stream}'
project: '{project}'
branch: '{branch}'
stream: '{stream}'
- lftools-version: '{lftools-version}'
wrappers:
- lf-infra-wrappers:
wrappers:
- lf-infra-wrappers:
@@
-81,6
+80,8
@@
nexus-iq-namespace: '' # Recommend a trailing dash when set. Example: odl-
stream: master
submodule-recursive: true
nexus-iq-namespace: '' # Recommend a trailing dash when set. Example: odl-
stream: master
submodule-recursive: true
+ submodule-timeout: 10
+ submodule-disable: false
gerrit_trigger_file_paths:
- compare-type: ANT
gerrit_trigger_file_paths:
- compare-type: ANT
@@
-101,7
+102,6
@@
project: '{project}'
branch: '{branch}'
stream: '{stream}'
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}'
@@
-132,7
+132,7
@@
gerrit_clm_triggers:
- comment-added-contains-event:
gerrit_clm_triggers:
- comment-added-contains-event:
- comment-contains-value:
run-clm$
+ comment-contains-value:
'^Patch Set\s+\d+:\s+run-clm\s*$'
#####################
# Job Configuration #
#####################
# Job Configuration #
@@
-145,6
+145,8
@@
refspec: '$GERRIT_REFSPEC'
branch: '$GERRIT_BRANCH'
submodule-recursive: '{submodule-recursive}'
refspec: '$GERRIT_REFSPEC'
branch: '$GERRIT_BRANCH'
submodule-recursive: '{submodule-recursive}'
+ submodule-timeout: '{submodule-timeout}'
+ submodule-disable: '{submodule-disable}'
choosing-strategy: default
triggers:
choosing-strategy: default
triggers:
@@
-185,6
+187,8
@@
refspec: ''
branch: 'refs/heads/{branch}'
submodule-recursive: '{submodule-recursive}'
refspec: ''
branch: 'refs/heads/{branch}'
submodule-recursive: '{submodule-recursive}'
+ submodule-timeout: '{submodule-timeout}'
+ submodule-disable: '{submodule-disable}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
@@
-227,6
+231,8
@@
sonar-mvn-goal: 'sonar:sonar'
stream: master
submodule-recursive: true
sonar-mvn-goal: 'sonar:sonar'
stream: master
submodule-recursive: true
+ submodule-timeout: 10
+ submodule-disable: false
gerrit_trigger_file_paths:
- compare-type: REG_EXP
gerrit_trigger_file_paths:
- compare-type: REG_EXP
@@
-247,7
+253,6
@@
project: '{project}'
branch: '{branch}'
stream: '{stream}'
project: '{project}'
branch: '{branch}'
stream: '{stream}'
- lftools-version: '{lftools-version}'
- string:
name: ARCHIVE_ARTIFACTS
default: '{archive-artifacts}'
- string:
name: ARCHIVE_ARTIFACTS
default: '{archive-artifacts}'
@@
-312,7
+317,7
@@
gerrit_sonar_triggers:
- comment-added-contains-event:
gerrit_sonar_triggers:
- comment-added-contains-event:
- comment-contains-value:
run-sonar$
+ comment-contains-value:
'^Patch Set\s+\d+:\s+run-sonar\s*$'
#####################
# Job Configuration #
#####################
# Job Configuration #
@@
-325,6
+330,8
@@
refspec: $GERRIT_REFSPEC
branch: $GERRIT_BRANCH
submodule-recursive: '{submodule-recursive}'
refspec: $GERRIT_REFSPEC
branch: $GERRIT_BRANCH
submodule-recursive: '{submodule-recursive}'
+ submodule-timeout: '{submodule-timeout}'
+ submodule-disable: '{submodule-disable}'
choosing-strategy: default
triggers:
choosing-strategy: default
triggers:
@@
-364,6
+371,8
@@
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
+ submodule-timeout: '{submodule-timeout}'
+ submodule-disable: '{submodule-disable}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
@@
-399,6
+408,8
@@
python-version: python2
stream: master
submodule-recursive: true
python-version: python2
stream: master
submodule-recursive: true
+ submodule-timeout: 10
+ submodule-disable: false
tox-dir: ''
tox-envs: ''
tox-dir: ''
tox-envs: ''
@@
-428,7
+439,6
@@
project: '{project}'
branch: '{branch}'
stream: '{stream}'
project: '{project}'
branch: '{branch}'
stream: '{stream}'
- lftools-version: '{lftools-version}'
- lf-infra-tox-parameters:
tox-dir: '{tox-dir}'
tox-envs: '{tox-envs}'
- lf-infra-tox-parameters:
tox-dir: '{tox-dir}'
tox-envs: '{tox-envs}'
@@
-461,6
+471,7
@@
# Default parameters #
######################
# Default parameters #
######################
+ gerrit-skip-vote: false
gerrit_verify_triggers:
- patchset-created-event:
exclude-drafts: true
gerrit_verify_triggers:
- patchset-created-event:
exclude-drafts: true
@@
-468,7
+479,7
@@
exclude-no-code-change: false
- draft-published-event
- comment-added-contains-event:
exclude-no-code-change: false
- draft-published-event
- comment-added-contains-event:
- comment-contains-value: '^Patch Set
[ ]+[0-9]+:([ ]+|[\n]+)(recheck|reverify)
$'
+ comment-contains-value: '^Patch Set
\s+\d+:\s+(recheck|reverify)\s*
$'
#####################
# Job Configuration #
#####################
# Job Configuration #
@@
-481,6
+492,8
@@
refspec: '$GERRIT_REFSPEC'
branch: '$GERRIT_BRANCH'
submodule-recursive: '{submodule-recursive}'
refspec: '$GERRIT_REFSPEC'
branch: '$GERRIT_BRANCH'
submodule-recursive: '{submodule-recursive}'
+ submodule-timeout: '{submodule-timeout}'
+ submodule-disable: '{submodule-disable}'
choosing-strategy: gerrit
triggers:
choosing-strategy: gerrit
triggers:
@@
-494,6
+507,11
@@
- branch-compare-type: ANT
branch-pattern: '**/{branch}'
file-paths: '{obj:gerrit_trigger_file_paths}'
- branch-compare-type: ANT
branch-pattern: '**/{branch}'
file-paths: '{obj:gerrit_trigger_file_paths}'
+ skip-vote:
+ successful: '{gerrit-skip-vote}'
+ failed: '{gerrit-skip-vote}'
+ unstable: '{gerrit-skip-vote}'
+ notbuilt: '{gerrit-skip-vote}'
- job-template:
# Python projects typically use tox to run testing.
- job-template:
# Python projects typically use tox to run testing.
@@
-513,6
+531,8
@@
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
+ submodule-timeout: '{submodule-timeout}'
+ submodule-disable: '{submodule-disable}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'