-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: scriptler-plugin
-
None
-
Environment:Scriptler version 2.9
It seemsĀ that is not possible to return the result of a scriptler script as Json.
Then content is always returned as plain text.
const url = `${this.jenkinsUrl}scriptler/run/${scriptId}` const result = await axios.get(url, { params: { contentType: 'application/json', }, headers: {Accept: 'application/json'}, })