+ - autorelease-generate-release-notes
+
+ publishers:
+ - lf-infra-publish
+
+- job-template:
+ name: '{project-name}-validate-autorelease-{stream}'
+
+ ############
+ # Defaults #
+ ############
+
+ java-version: openjdk8
+
+ #####################
+ # Job Configuration #
+ #####################
+
+ disabled: false
+ project-type: freestyle
+ node: '{build-node}'
+ concurrent: true
+ jdk: '{java-version}'
+
+ properties:
+ - lf-infra-properties:
+ build-days-to-keep: 7
+
+ parameters:
+ - lf-infra-parameters:
+ project: '{project}'
+ stream: '{stream}'
+ branch: '{branch}'
+ lftools-version: '{lftools-version}'
+ - autorelease-release-tag:
+ release-tag: validate
+ - string:
+ name: CLONE_URL
+ default: '{git-url}/releng/autorelease'
+ description: "Autorelease clone URL"
+
+ scm:
+ - git:
+ url: '$CLONE_URL'
+ credentials-id: 'opendaylight-jenkins-ssh'
+ refspec: ''
+ branches:
+ - 'origin/{branch}'
+ skip-tag: true
+ submodule:
+ recursive: true
+ timeout: 60
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit-trigger-patch-submitted:
+ gerrit-server-name: '{gerrit-server-name}'
+ project: '{project}'
+ branch: '{branch}'
+ files: '**/*.xml'
+
+ builders:
+ - autorelease-checkout-gerrit-patch
+ - jacoco-nojava-workaround
+ - shell: "./scripts/list-project-dependencies.sh"
+ - autorelease-determine-merge-order
+ - autorelease-generate-release-patches
+ # In a perfect world projects should be releasing separately and we consume them
+ # via a project that pulls the release bits from each project from Nexus.
+ # Keep the patches compatible with that ideal, but apply an edit
+ # to enable building in a single maven reactor afterwards.
+ - autorelease-fix-relative-paths
+ - maven-target:
+ maven-version: mvn33
+ pom: validate-pom.xml
+ goals: |
+ clean install dependency:tree
+ -T1.5C
+ -Pq
+ {opendaylight-infra-mvn-opts}
+ java-opts:
+ - '-Xmx8g'
+ settings: autorelease-settings
+ settings-type: cfp
+ global-settings: global-settings
+ global-settings-type: cfp
+ # Hack to workaround the duplicate-finder plugin in odlparent breaking validate-autorelease
+ - shell: sed -i 's/validate/none/' /tmp/r/org/opendaylight/odlparent/odlparent/3.0.2/odlparent-3.0.2.pom