blob: 3ab3f16bf8d88f07ce551ee27ea5b910ef69e7e6 [file] [log] [blame]
#!/bin/bash -ex
# set up ONOS build environment
ONOS_ROOT=`pwd`
. tools/build/envDefaults
# extract GPG key
base64 -d secring.gpg.b64 >secring.gpg
env
# set up release build credentials
. onos-build-credentials
env
git config user.email "jenkins@onosproject.org"
git config user.name "ONOS Jenkins User"
# run the build
onos-build-and-upload ${ONOS_VERSION} ${ONOS_NEXT_VERSION} ${GERRIT_BRANCH}