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:
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:
pom: 'pom.xml'
goals: |
clean deploy
+ $EXTRA_MVN_OPTS
-Pintegrationtests,docs,repoBuild
-Dcheckstyle.skip=true
-DaltDeploymentRepository=staging::default::file:hide/from/pom/files/stage
# 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