jenkinsci / jenkinsci/urltrigger-plugin

Example to use json or xml response in the plugin

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17
Forks
44
PR merge metrics
No merged PRs in 30d

Description

### Describe your use-case which is not covered by existing documentation.

we have an API which will return array of json objects as below in which we want to verify if build number, environment and Status, and trigger the stages if Buld number is modified and status is DONE.
{
"rows": [
{
"Build": "1",
"TimeStamp": "1652959519310",
"environment": "QA1",
"Status": "DONE",
},
{
"Build": "1",
"TimeStamp": "1652959529310",
"environment": "QA2",
"Status": "DONE",
},
{
"Build": "1",
"TimeStamp": "1652959518310",
"environment": "QA3",
"Status": "DONE",
}
]
}

Please share the example of any such example you are using?

### Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.