use npm cache in CI build

This commit is contained in:
Joe Green 2017-09-28 11:51:41 +01:00 committed by GitHub
parent 4ff6cd3006
commit 273de10eb4

View file

@ -19,7 +19,7 @@ pipeline {
agent { agent {
docker { docker {
image 'node:6.11.2' image 'node:6.11.2'
args "-e HOME=/tmp" args "-v /var/lib/jenkins/.npm:/tmp/.npm -e HOME=/tmp"
reuseNode true reuseNode true
} }
} }