aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/jenkins
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/jenkins')
-rwxr-xr-xscripts/jenkins/master.sh4
-rwxr-xr-xscripts/jenkins/release.sh7
2 files changed, 4 insertions, 7 deletions
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 {