X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-python-jobs.yaml;h=dfd4d34f4012d2c8795f58019909e4ee11607a83;hb=cc9776d38d1d5a25a9c27af4501dda47318e09aa;hp=2c30a46da341e4fae08f5c92218ca0d4b4271c5a;hpb=baacf438b7128ac60b458398219467235fcef9b1;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-python-jobs.yaml b/jjb/lf-python-jobs.yaml index 2c30a46d..dfd4d34f 100644 --- a/jjb/lf-python-jobs.yaml +++ b/jjb/lf-python-jobs.yaml @@ -49,7 +49,6 @@ project: '{project}' branch: '{branch}' stream: '{stream}' - lftools-version: '{lftools-version}' wrappers: - lf-infra-wrappers: @@ -78,8 +77,10 @@ github-url: 'https://github.com' java-version: openjdk8 nexus-iq-cli-version: 1.44.0-01 + nexus-iq-namespace: '' # Recommend a trailing dash when set. Example: odl- stream: master submodule-recursive: true + submodule-timeout: 10 gerrit_trigger_file_paths: - compare-type: ANT @@ -100,7 +101,6 @@ project: '{project}' branch: '{branch}' stream: '{stream}' - lftools-version: '{lftools-version}' - string: name: NEXUS_IQ_CLI_VERSION default: '{nexus-iq-cli-version}' @@ -116,7 +116,7 @@ - lf-update-java-alternatives: java-version: '{java-version}' - lf-infra-clm-python: - clm-project-name: '{project-name}' + clm-project-name: '{nexus-iq-namespace}{project-name}' - job-template: name: '{project-name}-python-clm-{stream}' @@ -144,6 +144,7 @@ refspec: '$GERRIT_REFSPEC' branch: '$GERRIT_BRANCH' submodule-recursive: '{submodule-recursive}' + submodule-timeout: '{submodule-timeout}' choosing-strategy: default triggers: @@ -184,6 +185,7 @@ refspec: '' branch: 'refs/heads/{branch}' submodule-recursive: '{submodule-recursive}' + submodule-timeout: '{submodule-timeout}' choosing-strategy: default jenkins-ssh-credential: '{jenkins-ssh-credential}' @@ -226,6 +228,7 @@ sonar-mvn-goal: 'sonar:sonar' stream: master submodule-recursive: true + submodule-timeout: 10 gerrit_trigger_file_paths: - compare-type: REG_EXP @@ -246,7 +249,6 @@ project: '{project}' branch: '{branch}' stream: '{stream}' - lftools-version: '{lftools-version}' - string: name: ARCHIVE_ARTIFACTS default: '{archive-artifacts}' @@ -267,11 +269,7 @@ can call "org.codehaus.mojo:sonar-maven-plugin:3.3.0.603:sonar". builders: - - shell: !include-raw-escape: - # Workaround issue where the tox run later breaks the lftools virtualenv. - # Without running the install first the run in the publisher will fail - # due to missing lftools because it gets installed into a tox venv. - - ../shell/lftools-install.sh + - lf-infra-pre-build - lf-infra-tox-install: python-version: '{python-version}' - shell: !include-raw-escape: ../shell/tox-run.sh @@ -328,6 +326,7 @@ refspec: $GERRIT_REFSPEC branch: $GERRIT_BRANCH submodule-recursive: '{submodule-recursive}' + submodule-timeout: '{submodule-timeout}' choosing-strategy: default triggers: @@ -367,6 +366,7 @@ refspec: '+refs/pull/*:refs/remotes/origin/pr/*' branch: '$sha1' submodule-recursive: '{submodule-recursive}' + submodule-timeout: '{submodule-timeout}' choosing-strategy: default jenkins-ssh-credential: '{jenkins-ssh-credential}' @@ -402,6 +402,7 @@ python-version: python2 stream: master submodule-recursive: true + submodule-timeout: 10 tox-dir: '' tox-envs: '' @@ -431,7 +432,6 @@ project: '{project}' branch: '{branch}' stream: '{stream}' - lftools-version: '{lftools-version}' - lf-infra-tox-parameters: tox-dir: '{tox-dir}' tox-envs: '{tox-envs}' @@ -446,11 +446,7 @@ jenkins-ssh-credential: '{jenkins-ssh-credential}' builders: - - shell: !include-raw-escape: - # Workaround issue where the tox run later breaks the lftools virtualenv. - # Without running the install first the run in the publisher will fail - # due to missing lftools because it gets installed into a tox venv. - - ../shell/lftools-install.sh + - lf-infra-pre-build - lf-infra-tox-install: python-version: '{python-version}' - shell: !include-raw-escape: ../shell/tox-run.sh @@ -488,6 +484,7 @@ refspec: '$GERRIT_REFSPEC' branch: '$GERRIT_BRANCH' submodule-recursive: '{submodule-recursive}' + submodule-timeout: '{submodule-timeout}' choosing-strategy: gerrit triggers: @@ -520,6 +517,7 @@ refspec: '+refs/pull/*:refs/remotes/origin/pr/*' branch: '$sha1' submodule-recursive: '{submodule-recursive}' + submodule-timeout: '{submodule-timeout}' choosing-strategy: default jenkins-ssh-credential: '{jenkins-ssh-credential}'