m-sureshraj / jenni

👩‍💻 Jenkins Personal Assistant - CLI to interact with Jenkins server
MIT License
45 stars 4 forks source link

project structure #76

Open saikek opened 3 years ago

saikek commented 3 years ago

Hello, can you please explain what is the idea behind running this tool only inside git-compatible folders ? I need to check status on 3 jobs - so I basically had to create something like this:

.
├── 1
│  └── readme.md
├── 2
│  └── readme.md
└── 3
   └── readme.md

where readme.md is empty file that was just added to be able to pass though check of jenni. Is some feature of git being used for that ?

m-sureshraj commented 3 years ago

Hi @saikek, Sorry for taking too long to respond.

Initially, the Jenni was created to support only SCM-type jobs. At the moment, Jenni uses git to resolve the current branch name to construct the job URL for WorkflowMultiBranchProject type jobs. (Ref).

Now I see this is a deal-breaker for non-git folders. I will create a ticket to investigate how to add non-git folder support to Jenni.