release-tag: 'Daily'
- autorelease-release-branch:
release-branch: '{branch}'
+ - autorelease-release-datestamp:
+ datestamp: true
scm:
- git:
- jacoco-nojava-workaround
publishers:
+ - maven-deploy:
+ url: 'https://nexus.opendaylight.org/content/repositories/opendaylight.daily/'
+ id: 'opendaylight.daily'
+ unique-version: true
+ deploy-unstable: true
- archive-artifacts:
artifacts: '*.log,patches/*.patch'
- email-notification:
release-tag: 'Pre-Lithium'
- autorelease-release-branch:
release-branch: '{branch}'
+ - autorelease-release-datestamp:
+ datestamp: false
scm:
- git:
default: '{release-branch}'
description: "The Release train branch to base build off eg. stable/helium"
+- parameter:
+ name: autorelease-release-datestamp
+ parameters:
+ - bool:
+ name: DATESTAMP
+ default: '{datestamp}'
+ description: "Whether to include a datestamp or not"
+
- wrapper:
name: autorelease-build-timeout
wrappers:
release-tag: 'Daily'
- autorelease-release-branch:
release-branch: '{branch}'
+ - autorelease-release-datestamp:
+ datestamp: true
scm:
- git:
- jacoco-nojava-workaround
publishers:
+ - maven-deploy:
+ url: 'https://nexus.opendaylight.org/content/repositories/opendaylight.daily/'
+ id: 'opendaylight.daily'
+ unique-version: true
+ deploy-unstable: true
- archive-artifacts:
artifacts: '*.log,patches/*.patch'
- email-notification:
# http://www.eclipse.org/legal/epl-v10.html
##############################################################################
+# DATESTAMP=true # Example
# RELEASE_TAG=Helium-SR2 # Example
# RELEASE_BRANCH=stable/helium # Example
+if [ "$DATESTAMP" == "true" ]; then
+ export RELEASE_TAG=$RELEASE_TAG-`date -u +v%Y%m%d%H%M`
+fi
+
+echo $RELEASE_TAG
./scripts/version.sh release $RELEASE_TAG
git submodule foreach "git commit -am \"Release $RELEASE_TAG\" || true"
git commit -am "Release $RELEASE_TAG"