You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
I have four jobs on jenkins. This is the behavior i am trying to achieve.
1> create a new view (name of the view should be the new git branch) for any new git branch.
2> add my four jenkins jobs using the jobs i already have as templates .
How should i do it. Examples of git-config.yaml would be appriciated
Thanks in advance
The text was updated successfully, but these errors were encountered:
I'm afraid jenkins-autojobs can only add jobs to views that already exist - it cannot create views by itself at the moment. However, it does actually make sense to have such functionality and I'll look into adding it in the coming week.
Could you elaborate a bit more on your second point? The way I understand it now is:
You have four jobs - A, B, C and D.
A new git branch is created - 'MyBranch'.
The 'MyBranch' view is created if it didn't already exist.
Jobs A, B, C, D are added to 'MyBranch'.
A 'MyBranch' job is created from your template job and it is also added to the 'MyBranch' view.
four jobs - A, B, C and D.
These are jobs for for master branch for main git repo. These are separate jobs because they are building separate java modules with in this git repo.
A new git branch is created - 'MyBranch'.
view ==> MyBranch
3.The 'MyBranch' view is created if it didn't already exist.
view ==> MyBranch
Jobs A, B, C, D are added to 'MyBranch'.
view ==> MyBranch
four jobs ==> A-MyBranch, B-MyBranch, C-MyBranch, D-MyBranch
These jobs are created using master jobs as templates
Hi ,
I have four jobs on jenkins. This is the behavior i am trying to achieve.
1> create a new view (name of the view should be the new git branch) for any new git branch.
2> add my four jenkins jobs using the jobs i already have as templates .
How should i do it. Examples of git-config.yaml would be appriciated
Thanks in advance
The text was updated successfully, but these errors were encountered: