tabeyti / jenkins-jack

Jack into your Jenkins to execute Pipeline scripts, provide Pipeline step autocompletions, pull Shared Library step documenation, run console groovy scripts across multiple nodes, and more! Honestly, not that much more.
Other
98 stars 31 forks source link

Fix Failed Saving Pull Job Script File #74

Open 4roring opened 2 years ago

4roring commented 2 years ago

close #62 fixes #62

jordengit commented 2 years ago

Fix script from xml in pullJobScript function is better.

private async pullJobScript(item: PipelineTreeItem) { .... let script = root.definition[0].script; if (undefined === script) { .... } script = script.toString(); .... }

ariyuan commented 2 years ago

close #62 fixes #62

This change works for me