Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
raffaelespazzoli committed Jun 14, 2018
1 parent e668943 commit ec8fde3
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 21 deletions.
1 change: 1 addition & 0 deletions cucumber-selenium-grid/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/npm-debug.log
45 changes: 30 additions & 15 deletions cucumber-selenium-grid/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ pipeline {
// Turn off Git's SSL cert check, uncomment if needed
// sh 'git config --global http.sslVerify false'
git url: "${APPLICATION_SOURCE_REPO}"
stash 'source'
}
}

Expand Down Expand Up @@ -143,20 +142,36 @@ pipeline {
dir ("${CONTEXT_DIR}"){
sh "/bin/bash -c 'npm install'"
sh "/bin/bash -c 'npm run integration-test'"
// script {
// archive (includes: 'pkg/*.gem')
// publishHTML (target: [
// allowMissing: false,
// alwaysLinkToLastBuild: false,
// keepAll: true,
// reportDir: 'coverage',
// reportFiles: 'index.html',
// reportName: "RCov Report"
// ])
// }
}
}

// script {
// archive (includes: 'cucumber/*')
// publishHTML (target: [
// allowMissing: false,
// alwaysLinkToLastBuild: false,
// keepAll: true,
// reportDir: 'report',
// reportFiles: 'index.html',
// reportName: "Cucumber Report"
// ])
// }
}
}
post {
always {
dir ("${CONTEXT_DIR}"){
script {
archive (includes: 'cucumber/*')
publishHTML (target: [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: true,
reportDir: 'report',
reportFiles: 'index.html',
reportName: "Cucumber Report"
])
}
}
}
}


}
Expand Down
10 changes: 4 additions & 6 deletions cucumber-selenium-grid/applier/templates/selenium-grid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ objects:
args:
- start
- '--desiredContainers'
- '0'
- '2'
- '--screenWidth'
- '1440'
- '--screenHeight'
Expand Down Expand Up @@ -127,14 +127,12 @@ objects:
kind: Route
metadata:
annotations:
labels:
application: todomvc
template: basic-nodejs
name: todomvc
name: zalenium
namespace: ${NAMESPACE}
spec:
to:
kind: Service
name: todomvc
name: zalenium
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
Expand Down

0 comments on commit ec8fde3

Please sign in to comment.