You can post the script contents to the script run endpoint I believe. “ A Jenkins Admin can execute groovy scripts remotely by sending an HTTP POST request to /script/ url or /scriptText/.
“ From https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console#JenkinsScriptConsole-Remoteaccess On Fri, Aug 3, 2018 at 11:31 AM Cuong Tran <[email protected]> wrote: > Can't you run your script under script console /script? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/d6fd715e-63a0-49d4-8454-0c5485a78fed%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9JN0Syeyytsxc6zhkBbPQfSR74AeRONirOToYUY2CTsNg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
