-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into JENKINS-40370
Conflicts: pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AbstractModelDefTest.java
- Loading branch information
Showing
11 changed files
with
278 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
31 changes: 31 additions & 0 deletions
31
pipeline-model-definition/src/test/resources/json/parallelPipelineQuoteEscaping.json
This file contains 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,31 @@ | |||
{"pipeline": { | |||
"stages": [ { | |||
"name": "foo", | |||
"branches": [ | |||
{ | |||
"name": "first", | |||
"steps": [ { | |||
"name": "echo", | |||
"arguments": { | |||
"isLiteral": true, | |||
"value": "First branch" | |||
} | |||
}] | |||
}, | |||
{ | |||
"name": "\"second\"", | |||
"steps": [ { | |||
"name": "echo", | |||
"arguments": { | |||
"isLiteral": true, | |||
"value": "Second branch" | |||
} | |||
}] | |||
} | |||
] | |||
}], | |||
"agent": { | |||
"isLiteral": true, | |||
"value": "none" | |||
} | |||
}} |
31 changes: 31 additions & 0 deletions
31
pipeline-model-definition/src/test/resources/json/parallelPipelineWithSpaceInBranch.json
This file contains 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,31 @@ | |||
{"pipeline": { | |||
"stages": [ { | |||
"name": "foo", | |||
"branches": [ | |||
{ | |||
"name": "first one", | |||
"steps": [ { | |||
"name": "echo", | |||
"arguments": { | |||
"isLiteral": true, | |||
"value": "First branch" | |||
} | |||
}] | |||
}, | |||
{ | |||
"name": "second one", | |||
"steps": [ { | |||
"name": "echo", | |||
"arguments": { | |||
"isLiteral": true, | |||
"value": "Second branch" | |||
} | |||
}] | |||
} | |||
] | |||
}], | |||
"agent": { | |||
"isLiteral": true, | |||
"value": "none" | |||
} | |||
}} |
Oops, something went wrong.