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

folders don't work #56

Closed Inetov closed 2 years ago

Inetov commented 3 years ago

Hi! this is the story in two screenshots: settings the_problem

I specified folderFilter in the config, but Jenkins Jack ignores this and creates a job in the root folder. If I move the job manually and run it again, Jenkins Jack will say that this job doesn't exist and offer to create it.

Directory Jack_tests exists in root. Jenkins version: 2.263.4 Jenkins Jack version: 1.1.2

tabeyti commented 3 years ago

Hey @Inetov!

Executing a pipeline script in a folder, although supported, isn't very straightforward, or user friendly at this time. Here are the instructions for executing a local script on a pipeline within a folder on the Jenkins server:

https://github.com/tabeyti/jenkins-jack/blob/master/CHANGELOG.md#pipeline-jack

Because this is a pain in the ass and not intuitive whatsoever, I'm making this a feature: have a list of Jenkins folders on the server display to the user on job creation so they can select one to create their job under.

In fact, I already have a change for this and will (hopefully) be rolling it out in 1.1.13 within the next day or so.

Inetov commented 3 years ago

Hey @tabeyti! it's cool, but I don't understand what I did wrong in my example. I hope the new version will solve my problem)

Inetov commented 2 years ago

Hey @tabeyti! Currently I have version 1.1.5 and folder selector in interface works great! thank you!