X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Ffaas%2Ffaas.yaml;h=f88319c58e432cfd4f69a7797c8f6e018892d2a4;hb=dc5af39ea17db6a43aad3be1d9ae64e897bc872f;hp=2fbf07f9b90545972bac0741824d982f9e77d462;hpb=44578331f163d00374970db0965231e2b7bfbb7e;p=releng%2Fbuilder.git diff --git a/jjb/faas/faas.yaml b/jjb/faas/faas.yaml index 2fbf07f9b..f88319c58 100644 --- a/jjb/faas/faas.yaml +++ b/jjb/faas/faas.yaml @@ -70,17 +70,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: @@ -101,19 +98,20 @@ branch: '{branch}' builders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{faas-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'faas-settings' - maven-target: maven-version: '{mvn33}' pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dstream={stream}' java-opts: - '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{faas-settings}' - global-settings: '{odl-global-settings}' + settings: 'faas-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp publishers: - archive-artifacts: @@ -122,6 +120,8 @@ - email-notification: email-prefix: '[faas]' - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'faas-merge-{stream}' @@ -148,9 +148,9 @@ parameters: - project-parameter: project: '{project}' - - gerrit-parameter: + - gerrit-parameters: + project: '{project}' branch: '{branch}' - - gerrit-refspec-parameter: refspec: 'refs/heads/{branch}' scm: @@ -172,19 +172,20 @@ branch: '{branch}' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{faas-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'faas-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dmerge -Dstream={stream}' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{faas-settings}' - global-settings: '{odl-global-settings}' + settings: 'faas-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp post-step-run-condition: UNSTABLE postbuilders: @@ -203,19 +204,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: '{faas-settings}' - global-settings: '{odl-global-settings}' + settings: 'faas-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: '{faas-settings}' - global-settings: '{odl-global-settings}' + settings: 'faas-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp reporters: - findbugs @@ -230,6 +235,8 @@ unique-version: true deploy-unstable: false - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'faas-periodic-{stream}' @@ -274,19 +281,20 @@ - timed: '@daily' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{faas-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'faas-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{faas-settings}' - global-settings: '{odl-global-settings}' + settings: 'faas-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp reporters: - findbugs @@ -295,6 +303,8 @@ - email-notification: email-prefix: '[faas]' - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'faas-distribution-{stream}' @@ -335,18 +345,19 @@ result: 'success' prebuilders: - - wipe-org-opendaylight-repo - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{faas-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'faas-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: @@ -355,6 +366,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 @@ -371,16 +384,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 @@ -429,23 +442,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: '{faas-settings}' - global-settings: '{odl-global-settings}' + settings: 'faas-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: '{faas-settings}' - global-settings: '{odl-global-settings}' + settings: 'faas-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp ignore-upstream-changes: true post-step-run-condition: 'SUCCESS' @@ -459,6 +475,8 @@ artifacts: 'karaf_console.log' - email-notification: email-prefix: '[faas]' + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'faas-integration-{stream}' @@ -506,19 +524,20 @@ result: 'success' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{faas-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'faas-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{faas-settings}' - global-settings: '{odl-global-settings}' + settings: 'faas-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp reporters: - findbugs @@ -527,6 +546,8 @@ - email-notification: email-prefix: '[faas] [controller] [yangtools] [odlparent]' - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'faas-sonar' @@ -559,24 +580,25 @@ - '{ssh-credentials}' triggers: - - timed: '@weekly' + - timed: 'H H * * 6' - gerrit-trigger-patch-sonar: name: 'faas' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{faas-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'faas-settings' maven: maven-name: '{mvn33}' root-pom: 'pom.xml' - goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dsonar' + goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -V -B -Djenkins -Dsonar' maven-opts: '-Xmx1024m -XX:MaxPermSize=256m' - settings: '{faas-settings}' - global-settings: '{odl-global-settings}' + settings: 'faas-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp reporters: - findbugs @@ -588,6 +610,8 @@ - email-notification: email-prefix: '[faas]' - jacoco-report + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'faas-clm-{stream}' @@ -620,21 +644,22 @@ - '{ssh-credentials}' triggers: - - timed: '@weekly' + - timed: 'H H * * 6' prebuilders: - - wipe-org-opendaylight-repo - provide-maven-settings: - global-settings-file: '{odl-global-settings}' - settings-file: '{faas-settings}' + global-settings-file: 'odl-global-settings' + settings-file: 'faas-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: '{faas-settings}' - global-settings: '{odl-global-settings}' + settings: 'faas-settings' + settings-type: cfp + global-settings: 'odl-global-settings' + global-settings-type: cfp postbuilders: - shell: 'find . -regex ".*karaf/target" | xargs rm -rf' @@ -644,6 +669,8 @@ publishers: - email-notification: email-prefix: '[faas]' + - archive-build: + maven-version: '{mvn33}' - job-template: name: 'faas-validate-autorelease-{stream}' @@ -663,24 +690,30 @@ 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 @@ -693,9 +726,9 @@ 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' @@ -714,26 +747,29 @@ pattern: '**/*.xml' prebuilders: - - wipe-org-opendaylight-repo - jacoco-nojava-workaround - autorelease-checkout-gerrit-patch - 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 @@ -743,4 +779,6 @@ publishers: - email-notification: email-prefix: '[autorelease] [faas]' + - archive-build: + maven-version: '{mvn33}'