Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
On creating a new job while being in a view, the job will be added to this view. This doesn't neccesarily make sense, especially when using regular expressions to filter the jobs.
There should be a flag "don't add job to view on creation" in the view or a similar mechanism to prevent this.
Attachments
Issue Links
- is duplicated by
-
JENKINS-14799 Views with ViewJobFilters should not automatically add newly created jobs
-
- Resolved
-
-
JENKINS-19596 New job added when current view is on a regular expression view
-
- Resolved
-
-
JENKINS-37857 New job get added automatically to the current ListView
-
- Closed
-
- is related to
-
JENKINS-41128 createItem in View not working when posting xml
-
- Resolved
-
- links to
Code changed in jenkins
User: Vincent Latombe
Path:
core/src/main/java/hudson/model/ListView.java
core/src/main/resources/hudson/model/ListView/newJobButtonBar.jelly
core/src/main/resources/hudson/model/View/newJob.jelly
core/src/main/resources/hudson/model/View/newJobButtonBar.jelly
war/src/main/js/widgets/add/addform.less
http://jenkins-ci.org/commit/jenkins/f4c9eb0322f44d1f6b025a509fcae5a704bde666
Log:
JENKINS-19142Prompt user whether to add the job to the current view (#2529)JENKINS-37857Prompt user whether to add the job to the current viewJENKINS-37857Fix review items from @daniel-beck