Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaelespazzoli committed Jun 12, 2018
1 parent 2de3154 commit 44f9397
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions cucumber-selenium-grid/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,6 @@ pipeline {
}
}

// Run Maven build, skipping tests
stage('Build'){
steps {
sh "cd ${CONTEXT_DIR}"
//sh "echo $PATH"
//sh "/bin/bash -c 'npm install'"
}
}

// Build Container Image using the artifacts produced in previous stages
stage('Build Container Image'){
steps {
Expand All @@ -68,7 +59,7 @@ pipeline {
script {
openshift.withCluster() {
openshift.withProject("${STAGE0}") {
openshift.selector("bc", "${APP_NAME}").startBuild("--from-dir=.").logs("-f")
openshift.selector("bc", "${APP_NAME}").startBuild("--from-dir=${CONTEXT_DIR}").logs("-f")
}
}
}
Expand Down

0 comments on commit 44f9397

Please sign in to comment.