Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tueksta authored Jul 11, 2019
1 parent 5b9c4c5 commit 0831674
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ class TestCase extends BasePipelineTest {


### Check Pipeline exceptions
Sometimes it is usefult to verify exactly exception is thrown during the pipeline run.
For exapmle by one of your `SharedLib` module
Sometimes it is useful to verify exactly that exception is thrown during the pipeline run.
For example by one of your `SharedLib` module

To do so you can use `org.junit.rules.ExpectedException`
```groovy
Expand Down Expand Up @@ -389,7 +389,7 @@ libraryJob.run()

If you already fiddled with Jenkins pipeline DSL, you experienced strange errors during execution on Jenkins.
This is because Jenkins does not directly execute your pipeline in Groovy,
but transforms the pipeline code into an intermediate format to in order to run Groovy code in
but transforms the pipeline code into an intermediate format in order to run Groovy code in
[Continuation Passing Style](https://en.wikipedia.org/wiki/Continuation-passing_style) (CPS).

The usual errors are partly due to the
Expand Down

0 comments on commit 0831674

Please sign in to comment.