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
97 stars 32 forks source link

how to create pipeline in a folder? #2

Closed daty2141 closed 3 years ago

daty2141 commented 5 years ago

i have folder plugin installed in my jenkins,and this extension can't create pipeline in the folder.

tabeyti commented 5 years ago

Hey @daty2141 . Sorry for the late reply.

Currently, there is no support for the folder extension in respect to creating/running Pipeline scripts.

The extension doesn't have a way of tying a groovy file to a folder hierarchy in Jenkins.

Off the top of my head, I'm unable to think of an easy way of doing this that doesn't involve creating a vscode 'workspace' type setup where workspace settings are saved to store this information (something I want down the road).

Theldris commented 4 years ago

Hi, I was looking into this and I finally used the "name" from the configuration file when defining the job name in the pipelineJack.ts file which seems to be working correctly.

I'm don't see where the 'name' property from the config file is currently used ? I thought this could be a good use, I could try to make a pull request if needed.

SVilgelm commented 4 years ago

Please add support for the folders.

its-mushon commented 4 years ago

also waiting for this... :) thanks

MilanMasek commented 4 years ago

+1

chkania commented 4 years ago

+1

GoaMind commented 4 years ago

+1

tabeyti commented 3 years ago

Sorry for the super late follow up on this. Version 1.10 now supports this feature.

If someone could validate the feature and it's usage.

NOTE: Creation of a job in a folder is still not supported (yet), but a pre-existing job on the Jenkins host can be reference by the local Pipeline's script config.