Created
February 13, 2018 15:35
-
-
Save rajdavies/35f75764bd82b95dbb291f1c2db00568 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Feature: Jenkins X multibranch pipeline | |
| In order to provide a basic jenkins-x experience | |
| As a project admin | |
| I need to be able to import and run a SpringBoot Github project via the multibranch plugin | |
| Scenario: a SpringBoot sample application pipeline builds and deploys successfully # features/multibranch.feature:6 | |
| Given there is a "bdd-test" jenkins credential # multibranch_test.go:15 -> thereIsAJenkinsCredential | |
| When we create a multibranch job called "spring-boot-web-example" # multibranch_test.go:38 -> weCreateAMultibranchJobCalled | |
| error creating Job 400 Bad Request | |
| And trigger a scan of the job "spring-boot-web-example" # multibranch_test.go:61 -> triggerAScanOfTheJob | |
| Then there should be a "spring-boot-web-example/master" job that completes successfully # multibranch_test.go:81 -> thereShouldBeAJobThatCompletesSuccessfully | |
| And the "spring-boot-web-example" application is "running" in the "staging" environment # multibranch_test.go:89 -> theApplicationIsInTheEnvironment | |
| --- Failed scenarios: | |
| features/multibranch.feature:8 | |
| 1 scenarios (1 failed) | |
| 5 steps (1 passed, 1 failed, 3 skipped) | |
| 102.415427ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment