From d8090808ea580a5ed698cef2c692c7aa1e1d5b3e Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 28 Nov 2022 07:29:43 +0000 Subject: [PATCH] Jenkinsfile now uses updated docker image. --- Jenkinsfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d6e1ff0..d31fb79 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,13 +8,17 @@ pipeline { steps { sh 'curl -fsSL https://fnm.vercel.app/install | bash' sh 'fnm install' - sh 'fnm use' + sh ''' + echo 'eval "$(fnm env --use-on-cd)"' >> ~/.bashrc + ''' sh 'npm install' } } stage("test") { steps { - sh 'npm run test:junit' + sh ''' + npm run test:junit + ''' junit 'junit/*.xml' } }