X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-python-jobs.yaml;h=0029f3ec03d49f4851175493d17f1d0528601b51;hb=c3150dcea8069e284ec52bf487541576a62687ab;hp=cd492ab221afbea53740859796f0dc27ddfdcb1b;hpb=c13d28098ddc544908b2c8d5a04d485c47f4e579;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-python-jobs.yaml b/jjb/lf-python-jobs.yaml index cd492ab2..0029f3ec 100644 --- a/jjb/lf-python-jobs.yaml +++ b/jjb/lf-python-jobs.yaml @@ -36,7 +36,7 @@ - inject: properties-content: 'CLM_PROJECT_NAME={clm-project-name}' - shell: !include-raw-escape: - - ../shell/sonar-cli.sh + - ../shell/nexus-iq-cli.sh #################### # COMMON FUNCTIONS # @@ -51,10 +51,7 @@ archive-artifacts: > **/*.log - **/hs_err_*.log - **/target/**/feature.xml - **/target/failsafe-reports/failsafe-summary.xml - **/target/surefire-reports/*-output.txt + nexus-iq-cli-version: 1.44.0-01 ##################### # Job Configuration # @@ -73,14 +70,6 @@ branch: '{branch}' stream: '{stream}' lftools-version: '{lftools-version}' - - string: - name: NEXUS_IQ_CLI_JAR - default: nexus-iq-cli-1.44.0-01.jar - description: Nexus IQ CLI package to download and use. - - string: - name: ARCHIVE_ARTIFACTS - default: '{archive-artifacts}' - description: Artifacts to archive to the logs server. wrappers: - lf-infra-wrappers: @@ -112,12 +101,21 @@ gerrit_clm_triggers: - comment-added-contains-event: - comment-contains-value: run-xc-clm$ + comment-contains-value: run-clm$ + gerrit_trigger_file_paths: + - compare-type: ANT + pattern: '**' ##################### # Job Configuration # ##################### + parameters: + - string: + name: NEXUS_IQ_CLI_VERSION + default: '{nexus-iq-cli-version}' + description: Nexus IQ CLI package to download and use. + triggers: # Build weekly on Saturdays - timed: 'H H * * 6' @@ -130,6 +128,7 @@ branches: - branch-compare-type: ANT branch-pattern: '**/{branch}' + file-paths: '{obj:gerrit_trigger_file_paths}' skip-vote: successful: true failed: true @@ -138,7 +137,7 @@ wrappers: - credentials-binding: - username-password-separated: - credential-id: sonar-xc-clm + credential-id: nexus-iq-xc-clm username: CLM_USER password: CLM_PASSWORD builders: @@ -185,7 +184,7 @@ triggers: - lf-infra-github-pr-trigger: - trigger-phrase: '^run-xc-clm$' + trigger-phrase: '^run-clm$' only-trigger-phrase: false status-context: 'CLM' permit-all: true @@ -224,6 +223,9 @@ gerrit_sonar_triggers: - comment-added-contains-event: comment-contains-value: run-sonar$ + gerrit_trigger_file_paths: + - compare-type: ANT + pattern: '**' ##################### # Job Configuration # @@ -265,6 +267,7 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**/master' + file-paths: '{obj:gerrit_trigger_file_paths}' skip-vote: successful: true failed: true @@ -435,6 +438,11 @@ - draft-published-event - comment-added-contains-event: comment-contains-value: recheck$ + gerrit_trigger_file_paths: + - compare-type: ANT + pattern: '**' + + parallel: true ##################### # Job Configuration # @@ -449,6 +457,13 @@ 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}' @@ -459,6 +474,7 @@ 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.