From ee0be2cba97919aefdf3932f2b98113e644e9321 Mon Sep 17 00:00:00 2001 From: Refael Ackermann Date: Sun, 29 Oct 2017 17:51:57 -0400 Subject: [PATCH] jenkins: citgm-smoker explicit npm_cache --- jenkins/xml/citgm-smoker.xml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/jenkins/xml/citgm-smoker.xml b/jenkins/xml/citgm-smoker.xml index 3b887f830..607e52035 100644 --- a/jenkins/xml/citgm-smoker.xml +++ b/jenkins/xml/citgm-smoker.xml @@ -149,7 +149,6 @@ e.x. citgm omg-i-pass # this too shall pass false - 1 @@ -310,41 +309,42 @@ $MAKE install - export PATH=$(pwd)/smoker/bin:$PATH -cd smoker + cd smoker + +export PATH=$(pwd)/bin:$PATH + node -v npm -v npm set progress=false -ls +npm set cache="$WORKSPACE/npm_cache" + if [ `uname -s` = "AIX" ]; then export npm_config_tmp='/ramdisk0/citgm' export npm_config_nodedir='/ramdisk0/citgm' fi + npm install --prefix=$(pwd) --global --loglevel=error $CITGM - export PATH=$(pwd)/smoker/bin:$PATH -export npm_loglevel=error + cd smoker + +export PATH=$(pwd)/bin:$PATH retval=0 -npm set progress=false export npm_loglevel=error export npm_config_nodedir="$WORKSPACE/node" +temp="$WORKSPACE"/citgm_tmp if [ `uname -s` = "AIX" ]; then temp=/ramdisk0/citgm export npm_config_tmp='/ramdisk0/citgm' unset LIBPATH echo $LIBPATH export CC=gcc -else - temp="$WORKSPACE"/citgm_tmp - rm -rf $temp - mkdir $temp || true fi - -cd smoker +rm -rf $temp || true +mkdir $temp || true [ "$DISABLE_READABLE_STREAM" == "true" ] && export READABLE_STREAM=disable