- job-template:
name: '{project-name}-distribution-check-{stream}'
+
+ ######################
+ # Default parameters #
+ ######################
+
+ java-version: openjdk8
+ mvn-version: mvn35
+
+ #####################
+ # Job Configuration #
+ #####################
+
# Operation: This job template builds a patch, creates a distribution containing
# the patch (making sure dependencies are specified),
# and performs the distribution deploy test.
disabled: false
project-type: freestyle
- node: '{build-node}'
+ node: 'centos7-builder-8c-8g'
concurrent: true
- jdk: '{jdk}'
+ jdk: '{java-version}'
properties:
- opendaylight-infra-properties:
project: '{project}'
branch: '{branch}'
refspec: 'refs/heads/{branch}'
- artifacts: '{archive-artifacts} **/dependency_tree.txt **/target/surefire-reports/*-output.txt'
+ artifacts: '{archive-artifacts}'
+ - integration-distribution-stream:
+ stream: '{stream}'
- integration-distribution-git-url:
git-url: '{git-url}'
- distribution-karaf-version:
karaf-version: '{karaf-version}'
- maven-exec:
- maven-version: mvn33
+ maven-version: '{mvn-version}'
scm:
- integration-gerrit-scm:
triggers:
- gerrit-trigger-patch-submitted:
- server: '{server-name}'
+ gerrit-server-name: '{gerrit-server-name}'
project: '{project}'
branch: '{branch}'
files: '**'
builders:
- distribution-check-wipe
+ - inject:
+ properties-file: 'allowed_projects.txt'
- distribution-check-build-project:
pom: '$GERRIT_PROJECT/pom.xml'
mvn-opts: '{opendaylight-infra-mvn-opts}'
+ mvn-version: '{mvn-version}'
+ # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
- distribution-check-verify-groupid:
gerrit-project: '$GERRIT_PROJECT'
- distribution-check-download-deps:
dist-pom: 'distribution/pom.xml'
mvn-opts: '{opendaylight-infra-mvn-opts}'
+ mvn-version: '{mvn-version}'
+ # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
- distribution-check-delete-snapshots
- distribution-check-configure-remotes
- - distribution-check-repeat-build:
- dist-pom: 'distribution/pom.xml'
- mvn-opts: '{opendaylight-infra-mvn-opts}'
- - integration-upload-distribution:
- dist-pom: distribution/pom.xml
- - integration-distribution-check
-
- publishers:
- - email-notification:
- email-recipients: '{email-recipients}'
- email-prefix: '[{project-name}]'
- - postbuildscript:
- builders:
- - shell: |
- #!/bin/bash
- mkdir -p $WORKSPACE/archives
- cp karaf*.log $WORKSPACE/archives
- script-only-if-succeeded: false
- script-only-if-failed: false
- mark-unstable-if-failed: true
- - opendaylight-infra-shiplogs:
- maven-version: 'mvn33'
-
-# Delete these when Karaf 4 becomes Nitrogen default.
-
-# TODO: Is there a way to de-duplicate with generic template parts?
-
-- job-template:
- name: '{project-name}-distribution3-check-nitrogen'
- disabled: false
-
- project-type: freestyle
- node: '{build-node}'
- concurrent: true
- jdk: '{jdk}'
-
- properties:
- - opendaylight-infra-properties:
- build-days-to-keep: '{build-days-to-keep}'
-
- parameters:
- - opendaylight-infra-parameters:
- os-cloud: '{os-cloud}'
- project: '{project}'
- branch: 'master'
- refspec: 'refs/heads/master'
- artifacts: '{archive-artifacts} **/dependency_tree.txt **/target/surefire-reports/*-output.txt'
- - integration-distribution-git-url:
- git-url: '{git-url}'
- - distribution-karaf-version:
- karaf-version: karaf3
- - maven-exec:
- maven-version: mvn33
-
- scm:
- - integration-gerrit-scm:
- basedir: '$GERRIT_PROJECT'
- refspec: '$GERRIT_REFSPEC'
- branch: '$GERRIT_BRANCH'
- - integration-distribution-scm:
- branch: 'master'
-
- wrappers:
- - opendaylight-infra-wrappers:
- # Distro-check jobs typically run within 10 - 30 minutes
- # with 45 minutes being the occassional edge case.
- # enforce a 60 minute limit to ensure stuck jobs get
- # cleared up sooner.
- # Double that as Karaf 3+4 may take longer.
- build-timeout: '120'
-
- triggers:
- - gerrit-trigger-patch-submitted:
- server: '{server-name}'
- project: '{project}'
- branch: 'master'
- files: '**'
-
- builders:
- - distribution-check-wipe
- - distribution-check-build-project:
+ - distribution-check-repeat-project-build:
pom: '$GERRIT_PROJECT/pom.xml'
mvn-opts: '{opendaylight-infra-mvn-opts}'
- - distribution-check-verify-groupid:
- gerrit-project: '$GERRIT_PROJECT'
- - distribution-check-download-deps:
- dist-pom: 'distribution/pom.xml'
- mvn-opts: '{opendaylight-infra-mvn-opts}'
- - distribution-check-delete-snapshots
- - distribution-check-configure-remotes
- - distribution-check-repeat-build:
+ mvn-version: '{mvn-version}'
+ # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
+ - distribution-check-repeat-distro-build:
dist-pom: 'distribution/pom.xml'
mvn-opts: '{opendaylight-infra-mvn-opts}'
+ mvn-version: '{mvn-version}'
+ # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
+ - integration-set-variables
+ - distribution-check-warn-9191
+ - distribution-check-warn-9192
- integration-upload-distribution:
dist-pom: distribution/pom.xml
- - integration-distribution-check
+ - distribution-check-bootup
publishers:
- email-notification:
email-recipients: '{email-recipients}'
email-prefix: '[{project-name}]'
- - postbuildscript:
- builders:
- - shell: |
- #!/bin/bash
- mkdir -p $WORKSPACE/archives
- cp karaf*.log $WORKSPACE/archives
- script-only-if-succeeded: false
- script-only-if-failed: false
- mark-unstable-if-failed: true
- - opendaylight-infra-shiplogs:
- maven-version: 'mvn33'
+ - integration-csit-archive-build
+ - lf-infra-publish