Skip to content

Commit

Permalink
Update build to use proper images
Browse files Browse the repository at this point in the history
  • Loading branch information
solocommand committed Oct 30, 2018
1 parent 6ffebd8 commit 893d54a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
node {
def nodeBuilder = docker.image("node:8")
nodeBuilder.pull()
def nodeBuilder = docker.image("node:8.11.3")
def emberBuilder = docker.image("danlynn/ember-cli:3.4.3")

// Test
try {
stage('Checkout') {
checkout scm
}

nodeBuilder.inside("-v ${env.WORKSPACE}/app:/var/www/html -u 0:0 --entrypoint=''") {
emberBuilder.inside("-v ${env.WORKSPACE}/app:/var/www/html -u 0:0 --entrypoint=''") {
stage('Build App') {
sh "cd /var/www/html && yarn"
}
Expand Down

0 comments on commit 893d54a

Please sign in to comment.