diff options
| author | Tobias Bosch | 2014-01-06 14:01:39 -0800 | 
|---|---|---|
| committer | Tobias Bosch | 2014-01-06 14:11:44 -0800 | 
| commit | dc89db33df8a0515fba0f25d3cdf82fa994f3a4b (patch) | |
| tree | 94a6f7fbdf3235569f3f396e25631801c33607ad /scripts/jenkins | |
| parent | 5dc27959d5c0e45cc0cc6133a9ef676cc15d44bd (diff) | |
| download | angular.js-dc89db33df8a0515fba0f25d3cdf82fa994f3a4b.tar.bz2 | |
chore(build): bugfixes to build scripts on Jenkins.
Diffstat (limited to 'scripts/jenkins')
| -rwxr-xr-x | scripts/jenkins/master.sh | 4 | ||||
| -rwxr-xr-x | scripts/jenkins/release.sh | 7 | 
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 { | 
