X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Fautorelease-templates.yaml;h=cae8e5988fd9a7c1e0f51481b7e442385a2246c8;hb=4dfd0109ed6b2fa92077e7e89748e1ca97432851;hp=9723dd4cbec0e1e318fecb820fd1e88463090e0a;hpb=e83011193b152086e55da73af1da1b73dad1a8ae;p=releng%2Fbuilder.git diff --git a/jjb/autorelease/autorelease-templates.yaml b/jjb/autorelease/autorelease-templates.yaml index 9723dd4cb..cae8e5988 100644 --- a/jjb/autorelease/autorelease-templates.yaml +++ b/jjb/autorelease/autorelease-templates.yaml @@ -8,15 +8,12 @@ jdk: '{jdk}' cron: 'H 0 * * *' + # Default variable values + extra-mvn-opts: '' + properties: - - build-discarder: - days-to-keep: '30' - num-to-keep: 40 - artifact-num-to-keep: 1 - # Make sure we only archive the last artifact until we figure out why - # autorelease carbon is not generating a staging repo. - # - opendaylight-infra-properties: - # build-days-to-keep: '30' + - opendaylight-infra-properties: + build-days-to-keep: '30' parameters: - maven-exec: @@ -33,6 +30,17 @@ release-tag: '{next-release-tag}' - autorelease-release-branch: release-branch: '{branch}' + - string: + name: EXTRA_MVN_OPTS + default: '{extra-mvn-opts}' + description: | + Additional optional Maven Options to pass to the Maven Goals + parameter. + + Examples: + -Dskip.karaf.featureTest=true # To disable karaf SingleFeatureTests + --fail-never # NEVER fail the build, regardless of project result + --fail-at-end # Only fail the build afterwards; allow all non-impacted builds to continue scm: - git: @@ -85,6 +93,7 @@ pom: 'pom.xml' goals: | clean deploy + $EXTRA_MVN_OPTS -Pintegrationtests,docs,repoBuild -Dcheckstyle.skip=true -DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage @@ -114,9 +123,7 @@ # Need to archive dependencies.log in Jenkins to provide a simple # way for downstream jobs to pull the latest version of this file # in their builds. - # TODO stop archiving **/*.zip once we figure out why artifacts are - # not deploying to Nexus - artifacts: 'dependencies.log, **/*.zip, /var/log/sa/*' + artifacts: 'dependencies.log' - trigger-parameterized-builds: - project: 'autorelease-generate-release-notes-{stream}' condition: UNSTABLE_OR_BETTER