From 63ca1958b87ae0c2d65ade02cbdb7f9b7702e81a Mon Sep 17 00:00:00 2001 From: raffaelespazzoli Date: Wed, 13 Jun 2018 22:31:22 +0200 Subject: [PATCH] f --- cucumber-selenium-grid/Jenkinsfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/cucumber-selenium-grid/Jenkinsfile b/cucumber-selenium-grid/Jenkinsfile index 5dd75eed..e46003ee 100644 --- a/cucumber-selenium-grid/Jenkinsfile +++ b/cucumber-selenium-grid/Jenkinsfile @@ -140,9 +140,9 @@ pipeline { // } steps { // 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'" + dir ("${CONTEXT_DIR}/integration-tests"){ + sh "/bin/bash -c 'npm install'" + sh "/bin/bash -c './node_modules/protractor/bin/protractor protractor-conf.js'" // script { // archive (includes: 'pkg/*.gem') // publishHTML (target: [ @@ -154,7 +154,10 @@ pipeline { // reportName: "RCov Report" // ]) // } - } + } + } + + }