Merge "Add high-frequency csit template"
[releng/builder.git] / jjb / deploy-distribution-get-vars.sh
1 #!/bin/bash
2 set -xeu -o pipefail
3
4 export BUNDLE
5 export BUNDLE_URL
6 export BUNDLE_VERSION
7
8 BUNDLE_VERSION=$(xpath "${BUNDLE_POM}" '/project/version/text()' 2> /dev/null)
9 BUNDLE="distribution-karaf-${BUNDLE_VERSION}.zip"
10 BUNDLE_URL="/tmp/r/org/opendaylight/integration/distribution-karaf/${BUNDLE_VERSION}/${BUNDLE}"
11
12 # Used to inject BUNDLE_ variables back into Jenkins
13 env | grep BUNDLE_ | sort | tee deploy-distribution.env