Extend timeout as `npm install` can be slow, generate timing on it
Change-Id: I6c0c34f68468c5222709fa21e53ebf6067db726d
diff --git a/jjb/gui-unit.yaml b/jjb/gui-unit.yaml
index a4c315c..8b9a68b 100644
--- a/jjb/gui-unit.yaml
+++ b/jjb/gui-unit.yaml
@@ -21,9 +21,10 @@
build-days-to-keep: '{build-days-to-keep}'
artifact-num-to-keep: '{artifact-num-to-keep}'
+ # `npm install` can take >10m depending on connectivity
wrappers:
- lf-infra-wrappers:
- build-timeout: '{build-timeout}'
+ build-timeout: 20
jenkins-ssh-credential: '{jenkins-ssh-credential}'
scm:
@@ -43,7 +44,7 @@
- shell: |
#/usr/bin/env bash
set -eu -o pipefail
- npm install
+ time npm install
npm run lint
npm test