Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaelespazzoli committed Jun 13, 2018
1 parent 27155a4 commit 6763a22
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions cucumber-selenium-grid/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,24 +122,24 @@ pipeline {
}

stage ('Run integration tests') {
agent {
kubernetes {
label "${LABEL}"
cloud 'openshift'
serviceAccount 'jenkins'
namespace "${env.STAGE2}"
containerTemplate {
name 'jnlp'
image "docker-registry.default.svc:5000/${NAMESPACE}/jenkins-slave-nodejs8"
alwaysPullImage true
workingDir '/tmp'
args '${computer.jnlpmac} ${computer.name}'
ttyEnabled false
}
}
}
// agent {
// kubernetes {
// label "${LABEL}"
// cloud 'openshift'
// serviceAccount 'jenkins'
// namespace "${env.STAGE2}"
// containerTemplate {
// name 'jnlp'
// image "docker-registry.default.svc:5000/${NAMESPACE}/jenkins-slave-nodejs8"
// alwaysPullImage true
// workingDir '/tmp'
// args '${computer.jnlpmac} ${computer.name}'
// ttyEnabled false
// }
// }
// }
steps {
unstash 'source'
// unstash 'source'
sh "cd ${CONTEXT_DIR}/integration-tests"
sh "/bin/bash -c 'npm install'"
sh "/bin/bash -c './node_modules/protractor/bin/protractor protractor-conf.js'"
Expand Down

0 comments on commit 6763a22

Please sign in to comment.