diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2015-04-16 20:48:20 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2015-04-16 20:49:27 +0200 |
commit | 69086805088b7ad3bedb57f770c7ad21c87bf59e (patch) | |
tree | 933a383921f572c152606072a6a5e01dc71d8aa7 /jjb | |
parent | 854caaf3a8c0e3f1bd8dbf648313168ea32b21c9 (diff) |
Change the deploy command and enable SKIP_BUILD
JIRA: OCTO-3
Change-Id: Ib22b534aeb315f265af7b601793c1cc8a71c843c
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/genesis/genesis-fuel.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/jjb/genesis/genesis-fuel.yml b/jjb/genesis/genesis-fuel.yml index fe6316c3f..427108ef5 100644 --- a/jjb/genesis/genesis-fuel.yml +++ b/jjb/genesis/genesis-fuel.yml @@ -207,6 +207,10 @@ name: ARTIFACT_VERSION default: $BUILD_ID description: "Version number to append to resulting ISO." + - string: + name: SKIP_BUILD + default: 0 + description: "Temporary parameter for deployment testing to skip the build and run deployment only." scm: - git: @@ -239,6 +243,14 @@ set -o pipefail set -x + # this is here for quick tries with deployment + if [ "$SKIP_BUILD" == "1" ]; then + echo "Skipping build for deployment testing!" + exit 0 + else + echo "Proceeding with build first!" + fi + # set/create the cache location [[ -d $CACHE_DIRECTORY ]] || mkdir -p $CACHE_DIRECTORY @@ -261,7 +273,7 @@ # this is just a quick fix to execute the deployment in a messy way # will be fixed later on - ssh cideploy@10.118.34.205 ./cideploy.sh + ssh -o BatchMode=yes -o TCPKeepAlive=yes cideploy@10.118.34.205 ./cideploy.sh - builder: name: installer-test |