From dc89db33df8a0515fba0f25d3cdf82fa994f3a4b Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Mon, 6 Jan 2014 14:01:39 -0800 Subject: chore(build): bugfixes to build scripts on Jenkins. --- scripts/jenkins/master.sh | 4 ++-- scripts/jenkins/release.sh | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'scripts/jenkins') diff --git a/scripts/jenkins/master.sh b/scripts/jenkins/master.sh index d5768f58..e27fa552 100755 --- a/scripts/jenkins/master.sh +++ b/scripts/jenkins/master.sh @@ -5,13 +5,13 @@ echo "#### Update master ##############" echo "#################################" ARG_DEFS=( - "[--no-test=true]" + "[--no-test=(true|false)]" ) function build { cd ../.. - if [[ $NO_TEST ]]; then + if [[ $NO_TEST == "true" ]]; then grunt package else ./jenkins_build.sh diff --git a/scripts/jenkins/release.sh b/scripts/jenkins/release.sh index b4eee4c4..2763b128 100755 --- a/scripts/jenkins/release.sh +++ b/scripts/jenkins/release.sh @@ -5,16 +5,13 @@ echo "#### Cut release ################" echo "#################################" ARG_DEFS=( - "--next_version_type=(patch|minor|major)" + "--next-version-type=(patch|minor|major)" "--next-version-name=(.+)" - "[--no-test=true]" + "[--no-test=(true|false)]" ) function init { NG_ARGS=("$@") - if [[ $NO_TEST ]]; then - NG_ARGS+=(--no_test=true) - fi } function phase { -- cgit v1.2.3