• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • scriptler-plugin
    • None
    • 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'}, 
      })
      

          [JENKINS-65326] Json with REST API

          There are no comments yet on this issue.

            mtughan Michael Tughan
            bokzor adrien
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: