Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign groups to new build jobs #19

Closed
4 tasks done
steffen-wilke opened this issue Jan 13, 2020 · 1 comment
Closed
4 tasks done

Assign groups to new build jobs #19

steffen-wilke opened this issue Jan 13, 2020 · 1 comment

Comments

@steffen-wilke
Copy link
Member

steffen-wilke commented Jan 13, 2020

If new jobs are added with the project selection wizard, it is possible to select parent objects (in Jenkins: folders) in the wizard. This will select all of the child jobs but when currently adding them to the configuration, the information about the parent is lost and all jobs are being added to an empty group.

The configuration wizard should take over the first level of parents as groups in the application.
If the hierarchy is deeper, the wizard could indicate this by combining the names of the parents e.g. with slashes:

  • Tools
    • Custom
      • Awesome Tool
      • Another Tool

Result:

Tools/Custom

  • Awesome Tool
  • Another Tool

It could be an option in the wizard to provide this information within the job names (as currently supported by the master branch of the tool).

Alternative Result:

Custom

  • Tools/Custom/Awesome Tool
  • Tools/Custom/Another Tool

The most important thing is that a parent group gets actually created/used instead of just creating am empty group. If a parent group already exists, the jobs should be added to it instead.

@krzysztof-lorenc
Copy link
Collaborator

This is done.
In wizard, there is a new drop down which allows to select how the groups are managed.
There are 3 options:

  1. Assign groups for added projects
  2. Add project path to project name
  3. Do not assign any groups

Also, the last selected option is saved, so when you use wizard another time, previously selected setting is restored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants