Added Dockerfile
This commit is contained in:
parent
f24d824c2c
commit
a4de64ee15
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM circleci/node:10
|
||||
RUN apt-get update && apt-get upgrade
|
||||
run apt-get install libnss3-dev
|
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -1,5 +1,5 @@
|
||||
pipeline {
|
||||
agent {docker { image 'circleci/node:10' }}
|
||||
agent {dockerfile true}
|
||||
environment {
|
||||
HOME = '.'
|
||||
}
|
||||
@ -7,13 +7,12 @@
|
||||
stages {
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh "apk update && apk upgrade"
|
||||
sh "npm install"
|
||||
sh "npm install webdriverio"
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
sh "npm install webdriverio"
|
||||
sh "npm test"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user