Possible to support /wfapi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python Jenkins |
New
|
Undecided
|
Unassigned |
Bug Description
##### ISSUE TYPE
<!--- Pick one below and delete the rest: -->
- Feature Idea
##### Jenkinsapi VERSION
##### Jenkins VERSION
##### SUMMARY
As some mentioned in #764, user input is part of the job.
Something I've done to automated Jenkins user input via /wfapi for our slack interaction.
Refer to : http://<jenkins_
To approve, post to http://<jenkins_
```
{'parameter': [
{
},
{
},
{
}
]}
```
To deny, post to http://<jenkins_
##### EXPECTED RESULTS
<!--- What did you expect to happen when running the steps above? -->
I'd liket to have some function wrapped here, so that I do not need to make a http request every time...
##### ACTUAL RESULTS
<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->
##### USEFUL INFORMATION
<!---
For bugs, show exactly how to reproduce the problem.
For new features, show how the feature would be used.
-->
<!--- Paste example code and full stacktrace below -->
```
headers = {'Content-type': 'application/
build_url = approval_
querystring = {"inputId"
payload = {'json'
{
},
{
}
]})}
resp = requests.
```