diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-07-11 21:44:01 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-07-11 21:46:34 +0200 |
commit | e0af7ca3d9e9381c5c9178d8551561aa7ccfc926 (patch) | |
tree | bf37a96663c0f85a05ebf4aebdd54634ac4b577f /jjb/armband/build.sh | |
parent | 961da26ee8049a3d6c9e7f17de9a12fa6e5cf266 (diff) |
armband: Disable ISO actions for MCP
Sync with changes for Fuel@OPNFV targeting master branch (MCP):
- disable ISO build for master branch;
- turn off upload action & checkout;
- add retrieving OS credentials for MCP;
- disable ISO download for master branch;
Change-Id: I11eacfad7ee1f738119e17c2e63c3d92707f8e1f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'jjb/armband/build.sh')
-rwxr-xr-x | jjb/armband/build.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/jjb/armband/build.sh b/jjb/armband/build.sh index a71cf1112..29c01bb38 100755 --- a/jjb/armband/build.sh +++ b/jjb/armband/build.sh @@ -2,12 +2,21 @@ # SPDX-license-identifier: Apache-2.0 ############################################################################## # Copyright (c) 2016 Ericsson AB and others. -# Copyright (c) 2016 Enea AB. +# Copyright (c) 2017 Enea AB. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## + +# disable Armband iso build for master branch +if [[ "$BRANCH" == 'master' ]]; then + touch $WORKSPACE/.noupload + echo "--------------------------------------------------------" + echo "Done!" + exit 0 +fi + set -o errexit set -o nounset set -o pipefail |