From 69086805088b7ad3bedb57f770c7ad21c87bf59e Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Thu, 16 Apr 2015 20:48:20 +0200 Subject: Change the deploy command and enable SKIP_BUILD JIRA: OCTO-3 Change-Id: Ib22b534aeb315f265af7b601793c1cc8a71c843c Signed-off-by: Fatih Degirmenci --- jjb/genesis/genesis-fuel.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 -- cgit 1.2.3-korg