Skip to content

Commit df90528

Browse files
authored
Merge pull request #14 from cloudogu/bugfix/13_readiness_check_fails
errors during readiness check should not abort build execution
2 parents a0cb8e6 + d1f4ed3 commit df90528

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
### Fixed
10+
- waiting for the selenium grid does not fail instantly if the grid api isn't up already (#13)
11+
912
## [v2.1.0](https://github.com/cloudogu/zalenium-build-lib/releases/tag/v2.1.0) - 2020-12-14
1013

1114
### Added

vars/withSelenium.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ void waitForSeleniumToGetReady(String host) {
107107

108108
boolean isSeleniumReady(String host) {
109109
def result = sh(returnStdout: true,
110-
script: "curl -sSL http://${host}/wd/hub/status") // Don't fail
110+
script: "curl -sSL http://${host}/wd/hub/status || true") // Don't fail
111111
result.contains('ready\": true')
112112
}
113113

0 commit comments

Comments
 (0)