X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopenflowplugin%2Fopenflowplugin.yaml;h=6f957723b12a571e46ce88c2cf8b62de363dd5d6;hb=140a6a4db5df25f77c47689e52b00ae2c38098dc;hp=88965fd113eca6792c03ec79c167db43d70e28c3;hpb=1cfc0d7dd63e90a6df9367636a64ed7b2c075d7e;p=releng%2Fbuilder.git diff --git a/jjb/openflowplugin/openflowplugin.yaml b/jjb/openflowplugin/openflowplugin.yaml index 88965fd11..6f957723b 100644 --- a/jjb/openflowplugin/openflowplugin.yaml +++ b/jjb/openflowplugin/openflowplugin.yaml @@ -78,17 +78,14 @@ values: '{obj:jdks}' logrotate: - daysToKeep: '{build-days-to-keep}' - numToKeep: '{build-num-to-keep}' - artifactDaysToKeep: '{build-artifact-days-to-keep}' - artifactNumToKeep: '{build-artifact-num-to-keep}' + daysToKeep: '14' parameters: - project-parameter: project: '{project}' - - gerrit-parameter: + - gerrit-parameters: + project: '{project}' branch: '{branch}' - - gerrit-refspec-parameter: refspec: 'refs/heads/{branch}' scm: @@ -109,19 +106,20 @@ branch: '{branch}' builders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{openflowplugin-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'openflowplugin-settings' - maven-target: maven-version: '{mvn33}' pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Djenkins -Dstream={stream}' + goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -V -B -Djenkins -Dstream={stream}' java-opts: - '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{openflowplugin-settings}' - global-settings: '{odl-global-settings}' + settings: 'openflowplugin-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp publishers: - archive-artifacts: @@ -130,6 +128,8 @@ - email-notification: email-prefix: '[openflowplugin]' - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'openflowplugin-merge-{stream}' @@ -156,9 +156,9 @@ parameters: - project-parameter: project: '{project}' - - gerrit-parameter: + - gerrit-parameters: + project: '{project}' branch: '{branch}' - - gerrit-refspec-parameter: refspec: 'refs/heads/{branch}' scm: @@ -172,6 +172,8 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - openstack: + single-use: true triggers: - timed: 'H H * * 0' @@ -180,19 +182,20 @@ branch: '{branch}' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{openflowplugin-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'openflowplugin-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Djenkins -Dmerge -Dstream={stream}' + goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -V -B -Djenkins -Dmerge -Dstream={stream}' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{openflowplugin-settings}' - global-settings: '{odl-global-settings}' + settings: 'openflowplugin-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp post-step-run-condition: UNSTABLE postbuilders: @@ -211,19 +214,23 @@ - maven-target: maven-version: '{mvn33}' pom: pom.xml - goals: 'site:deploy -Dstream={stream}' + goals: 'site:deploy -V -B -Dstream={stream}' java-opts: - '-Xmx2g' - settings: '{openflowplugin-settings}' - global-settings: '{odl-global-settings}' + settings: 'openflowplugin-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp - maven-target: maven-version: '{mvn33}' pom: deploy-site.xml - goals: 'site:deploy -Dstream={stream}' + goals: 'site:deploy -V -B -Dstream={stream}' java-opts: - '-Xmx2g' - settings: '{openflowplugin-settings}' - global-settings: '{odl-global-settings}' + settings: 'openflowplugin-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp reporters: - findbugs @@ -238,6 +245,8 @@ unique-version: true deploy-unstable: false - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'openflowplugin-periodic-{stream}' @@ -277,24 +286,27 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - openstack: + single-use: true triggers: - timed: '@daily' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{openflowplugin-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'openflowplugin-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Djenkins' + goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -V -B -Djenkins' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{openflowplugin-settings}' - global-settings: '{odl-global-settings}' + settings: 'openflowplugin-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp reporters: - findbugs @@ -303,6 +315,8 @@ - email-notification: email-prefix: '[openflowplugin]' - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'openflowplugin-distribution-{stream}' @@ -336,6 +350,8 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - openstack: + single-use: true triggers: - reverse: @@ -343,18 +359,19 @@ result: 'success' prebuilders: - - wipe-org-opendaylight-repo - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{openflowplugin-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'openflowplugin-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: '{integration-settings}' - global-settings: '{odl-global-settings}' + settings: 'integration-distribution-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp publishers: - email-notification: @@ -363,6 +380,8 @@ id: '' unique-version: true deploy-unstable: false + - archive-build: + maven-version: '{mvn33}' # Template: integration-patch-distribution-{stream} # Goal: Build a patch and make sure the distribution can deploy with this change @@ -379,16 +398,16 @@ jdk: '{jdk}' logrotate: - daysToKeep: '14' - numToKeep: '10' + daysToKeep: '{build-days-to-keep}' + numToKeep: '{build-num-to-keep}' artifactDaysToKeep: '{build-artifact-days-to-keep}' artifactNumToKeep: '{build-artifact-num-to-keep}' parameters: - - gerrit-project-parameter: + - gerrit-parameters: project: '{project}' - - gerrit-refspec-parameter: - refspec: '{branch}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' - project-parameter: project: '{project}' - integration-distribution-git-url @@ -408,6 +427,8 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - openstack: + single-use: true triggers: - gerrit: @@ -437,23 +458,26 @@ notbuilt: false prebuilders: - - wipe-org-opendaylight-repo - maven-target: maven-version: '{mvn33}' pom: '$GERRIT_PROJECT/pom.xml' - goals: 'clean install -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' + goals: 'clean install -V -B -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}' java-opts: - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: '{openflowplugin-settings}' - global-settings: '{odl-global-settings}' + settings: 'openflowplugin-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp maven: maven-name: '{mvn33}' root-pom: 'distribution/pom.xml' - goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + goals: 'clean install -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true' - settings: '{openflowplugin-settings}' - global-settings: '{odl-global-settings}' + settings: 'openflowplugin-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp ignore-upstream-changes: true post-step-run-condition: 'SUCCESS' @@ -467,6 +491,8 @@ artifacts: 'karaf_console.log' - email-notification: email-prefix: '[openflowplugin]' + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'openflowplugin-integration-{stream}' @@ -507,6 +533,8 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - openstack: + single-use: true triggers: - reverse: @@ -514,19 +542,20 @@ result: 'success' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{openflowplugin-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'openflowplugin-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Djenkins' + goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -V -B -Djenkins' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{openflowplugin-settings}' - global-settings: '{odl-global-settings}' + settings: 'openflowplugin-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp reporters: - findbugs @@ -535,6 +564,8 @@ - email-notification: email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]' - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'openflowplugin-sonar' @@ -565,26 +596,29 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - openstack: + single-use: true triggers: - - timed: '@weekly' + - timed: 'H H * * 6' - gerrit-trigger-patch-sonar: name: 'openflowplugin' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{openflowplugin-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'openflowplugin-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Djenkins -Dsonar' + goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -V -B -Djenkins -Dsonar' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{openflowplugin-settings}' - global-settings: '{odl-global-settings}' + settings: 'openflowplugin-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp reporters: - findbugs @@ -596,6 +630,8 @@ - email-notification: email-prefix: '[openflowplugin]' - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'openflowplugin-clm-{stream}' @@ -626,23 +662,26 @@ - ssh-agent-credentials: users: - '{ssh-credentials}' + - openstack: + single-use: true triggers: - - timed: '@weekly' + - timed: 'H H * * 6' prebuilders: - - wipe-org-opendaylight-repo - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{openflowplugin-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'openflowplugin-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -V -B -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx4096m -XX:MaxPermSize=512m' - settings: '{openflowplugin-settings}' - global-settings: '{odl-global-settings}' + settings: 'openflowplugin-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp postbuilders: - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' @@ -652,6 +691,8 @@ publishers: - email-notification: email-prefix: '[openflowplugin]' + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'openflowplugin-validate-autorelease-{stream}' @@ -671,39 +712,47 @@ parameters: - project-parameter: project: '{project}' - - gerrit-parameter: + - gerrit-parameters: + project: '{project}' branch: '{branch}' + refspec: 'refs/heads/{branch}' - autorelease-release-tag: release-tag: 'validate' - autorelease-release-branch: release-branch: '{branch}' - - autorelease-release-datestamp: - datestamp: true + - string: + name: CLONE_URL + default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease' + description: "Autorelease clone URL" scm: - git: - url: 'https://git.opendaylight.org/gerrit/releng/autorelease' + url: '$CLONE_URL' + credentials-id: '{ssh-credentials}' refspec: '' branches: - 'origin/{branch}' skip-tag: true submodule: recursive: true + timeout: 60 wrappers: - autorelease-build-timeout - ssh-agent-credentials: users: - '{ssh-credentials}' + - openstack: + single-use: true triggers: - gerrit: server-name: 'OpenDaylight' trigger-on: - patchset-created-event: - exclude-drafts: 'false' + exclude-drafts: 'true' exclude-trivial-rebase: 'false' - exclude-no-code-change: 'false' + exclude-no-code-change: 'true' - draft-published-event - comment-added-contains-event: comment-contains-value: 'recheck' @@ -722,37 +771,38 @@ pattern: '**/*.xml' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - autorelease-checkout-gerrit-patch - - autorelease-generate-taglist - autorelease-generate-release-patches - maven-target: maven-version: '{mvn33}' pom: validate-pom.xml - goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + goals: 'clean install -V -B -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' java-opts: - '-Xmx8g' - settings: '{autorelease-settings}' - global-settings: '{odl-global-settings}' + settings: 'autorelease-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' + goals: 'clean validate -V -B -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r' maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true' - settings: '{autorelease-settings}' - global-settings: '{odl-global-settings}' + settings: 'autorelease-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp automatic-archiving: false post-step-run-condition: UNSTABLE postbuilders: - - shell: "./scripts/list-project-dependencies.sh" - autorelease-sys-stats publishers: - - archive-artifacts: - artifacts: '*.log' - email-notification: email-prefix: '[autorelease] [openflowplugin]' + - archive-build: + maven-version: '{mvn33}'