-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSONObject["Minions"] is not a JSONArray. #146
Comments
I have the same issue
|
Any update on this? |
Sorry all. I forgot about this one after a holiday. Are you able to send over the debug log, as documented under "Logging Configuration Thanks! |
This was collected from http log
And this was collected from salt logs
|
Hi @mchugh19 |
Kind reminder. Is there any news about this? Have no idea how to fix it |
I took a tcp dump and I got this return value to the GET jobs/20210913145845841038 request: {
"info":[
{
"jid":"20210913145845841038",
"Function":"state.apply",
"Arguments":[
"",
{
"__kwarg__":true,
"saltenv":"base",
"pillarenv":"base"
}
],
"Target":"myminion",
"Target-type":"glob",
"User":"admin",
"StartTime":"2021, Sep 13 14:58:45.841038",
"Result":{
}
}
],
"return":[
{
}
]
} In this response there are not any key "Minions" to get the array from as stated in the code in https://github.com/jenkinsci/saltstack-plugin/blob/master/src/main/java/com/waytta/Builds.java#L181. Is salt api response wrong or is the plugin's code? |
I'm using the plugin task "Send a message to Salt API" and I get this error:
It not depends on function (I tried with test.ping, state.apply, ecc...).
Commands are sent and executed but jenkins doesn't understand the return (I guess)
The text was updated successfully, but these errors were encountered: