Ray Milkey | c715f38 | 2017-11-02 11:00:32 -0700 | [diff] [blame] | 1 | #!/bin/bash -ex |
Ray Milkey | 8fae9a7 | 2017-11-17 10:03:54 -0800 | [diff] [blame] | 2 | |
Ray Milkey | cb569c3 | 2017-12-12 13:42:20 -0800 | [diff] [blame] | 3 | # exit on errors |
| 4 | set -eu -o pipefail |
| 5 | |
Ray Milkey | 8fae9a7 | 2017-11-17 10:03:54 -0800 | [diff] [blame] | 6 | # set up ONOS build environment |
Ray Milkey | c715f38 | 2017-11-02 11:00:32 -0700 | [diff] [blame] | 7 | ONOS_ROOT=`pwd` |
| 8 | . tools/build/envDefaults |
Ray Milkey | 8fae9a7 | 2017-11-17 10:03:54 -0800 | [diff] [blame] | 9 | |
Ray Milkey | 2918ab7 | 2018-08-14 16:27:52 -0700 | [diff] [blame] | 10 | PATH=$PATH:/home/jenkins/bin |
| 11 | |
Ray Milkey | d806ac9 | 2018-08-14 16:58:27 -0700 | [diff] [blame] | 12 | # import GPG key |
| 13 | gpg --import jenkins.key |
| 14 | |
Ray Milkey | 93c84fb | 2018-11-09 10:01:35 -0800 | [diff] [blame] | 15 | # run the verification build - versions don't matter here, artifacts are never published |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 16 | onos-build-and-upload 1.12.0-testbuild 1.12-SNAPSHOT master --dry-run |