Jenkinsfile now uses updated docker image.

This commit is contained in:
Harrison Deng 2022-11-28 07:29:43 +00:00
parent bc5e4b09eb
commit d8090808ea

8
Jenkinsfile vendored
View File

@ -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'
}
}