Jenkinsfile now uses updated docker image.
This commit is contained in:
parent
bc5e4b09eb
commit
d8090808ea
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -8,13 +8,17 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sh 'curl -fsSL https://fnm.vercel.app/install | bash'
|
sh 'curl -fsSL https://fnm.vercel.app/install | bash'
|
||||||
sh 'fnm install'
|
sh 'fnm install'
|
||||||
sh 'fnm use'
|
sh '''
|
||||||
|
echo 'eval "$(fnm env --use-on-cd)"' >> ~/.bashrc
|
||||||
|
'''
|
||||||
sh 'npm install'
|
sh 'npm install'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("test") {
|
stage("test") {
|
||||||
steps {
|
steps {
|
||||||
sh 'npm run test:junit'
|
sh '''
|
||||||
|
npm run test:junit
|
||||||
|
'''
|
||||||
junit 'junit/*.xml'
|
junit 'junit/*.xml'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user