diff options
| author | Tobias Bosch | 2014-01-06 15:48:30 -0800 | 
|---|---|---|
| committer | Tobias Bosch | 2014-01-06 15:48:30 -0800 | 
| commit | efbc2428754dc803122198b523dc7071ddc6f3cd (patch) | |
| tree | 1c58ceb7900df285708f47eeeaedf4c585d1975f | |
| parent | d4d58f287f49023dda41def14968da5a7752c699 (diff) | |
| download | angular.js-efbc2428754dc803122198b523dc7071ddc6f3cd.tar.bz2 | |
chore(build): bugfixes to build scripts on Jenkins
| -rwxr-xr-x | scripts/angular.js/publish.sh | 11 | ||||
| -rwxr-xr-x | scripts/jenkins/master.sh | 3 | 
2 files changed, 4 insertions, 10 deletions
| diff --git a/scripts/angular.js/publish.sh b/scripts/angular.js/publish.sh index cd728ee1..8de5b11b 100755 --- a/scripts/angular.js/publish.sh +++ b/scripts/angular.js/publish.sh @@ -18,19 +18,12 @@ function init {  }  function prepare() { - -  if ! git symbolic-ref --short HEAD; then -    # We are on a detached branch, e.g. jenkins checks out shas instead of branches -    # Jump onto the master branch and make sure we are using the latest -    git checkout -f master -    git merge --ff-only origin/master -  fi -    ./scripts/angular.js/finalize-version.sh    # Build    if [[ $NO_TEST == "true" ]]; then -    grunt package +    npm install --color false +    grunt ci-checks package --no-color    else      ./jenkins_build.sh    fi diff --git a/scripts/jenkins/master.sh b/scripts/jenkins/master.sh index e27fa552..93af4d94 100755 --- a/scripts/jenkins/master.sh +++ b/scripts/jenkins/master.sh @@ -12,7 +12,8 @@ function build {    cd ../..    if [[ $NO_TEST == "true" ]]; then -    grunt package +    npm install --color false +    grunt ci-checks package --no-color    else      ./jenkins_build.sh    fi | 
