Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23552

Replace "Allow priorities directly on Jobs"

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Replace the global setting "Allow priorities directly on Jobs" with a Strategy that can do the same.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: emsa23
          Path:
          src/main/java/jenkins/advancedqueue/AdvancedQueueSorterJobProperty.java
          src/main/java/jenkins/advancedqueue/PriorityConfiguration.java
          src/main/java/jenkins/advancedqueue/PrioritySorterConfiguration.java
          src/main/java/jenkins/advancedqueue/priority/strategy/JobPropertyStrategy.java
          src/main/resources/jenkins/advancedqueue/AdvancedQueueSorterJobProperty/config.jelly
          src/main/resources/jenkins/advancedqueue/PriorityConfiguration/index.jelly
          src/main/resources/jenkins/advancedqueue/PrioritySorterConfiguration/config.jelly
          src/main/resources/jenkins/advancedqueue/priority/strategy/JobPropertyStrategy/config.jelly
          http://jenkins-ci.org/commit/priority-sorter-plugin/318597a73a18ae2b72c77216eaff3b5aa230d75c
          Log:
          JENKINS-23552 Replace "Allow priorities directly on Jobs"

          • Added new JobProperty Strategy
          • Removed code for special handling of priorities on Jobs
          • Only show the JobProperty if some JobGroup is using it
          • Removed the checkbox on the main config page
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: emsa23 Path: src/main/java/jenkins/advancedqueue/AdvancedQueueSorterJobProperty.java src/main/java/jenkins/advancedqueue/PriorityConfiguration.java src/main/java/jenkins/advancedqueue/PrioritySorterConfiguration.java src/main/java/jenkins/advancedqueue/priority/strategy/JobPropertyStrategy.java src/main/resources/jenkins/advancedqueue/AdvancedQueueSorterJobProperty/config.jelly src/main/resources/jenkins/advancedqueue/PriorityConfiguration/index.jelly src/main/resources/jenkins/advancedqueue/PrioritySorterConfiguration/config.jelly src/main/resources/jenkins/advancedqueue/priority/strategy/JobPropertyStrategy/config.jelly http://jenkins-ci.org/commit/priority-sorter-plugin/318597a73a18ae2b72c77216eaff3b5aa230d75c Log: JENKINS-23552 Replace "Allow priorities directly on Jobs" Added new JobProperty Strategy Removed code for special handling of priorities on Jobs Only show the JobProperty if some JobGroup is using it Removed the checkbox on the main config page
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: emsa23
          Path:
          src/main/java/jenkins/advancedqueue/AdvancedQueueSorterJobProperty.java
          src/main/java/jenkins/advancedqueue/PrioritySorterConfiguration.java
          src/main/java/jenkins/advancedqueue/PrioritySorterPlugin.java
          src/main/java/jenkins/advancedqueue/priority/strategy/JobPropertyStrategy.java
          src/main/java/jenkins/advancedqueue/priority/strategy/PriorityJobProperty.java
          http://jenkins-ci.org/commit/priority-sorter-plugin/9c6c54de825030831942186bc3b877ab18c5f66a
          Log:
          JENKINS-23552 Replace "Allow priorities directly on Jobs"

          • Moved and renamed "AdvancedQueueSorterJobProperty"
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: emsa23 Path: src/main/java/jenkins/advancedqueue/AdvancedQueueSorterJobProperty.java src/main/java/jenkins/advancedqueue/PrioritySorterConfiguration.java src/main/java/jenkins/advancedqueue/PrioritySorterPlugin.java src/main/java/jenkins/advancedqueue/priority/strategy/JobPropertyStrategy.java src/main/java/jenkins/advancedqueue/priority/strategy/PriorityJobProperty.java http://jenkins-ci.org/commit/priority-sorter-plugin/9c6c54de825030831942186bc3b877ab18c5f66a Log: JENKINS-23552 Replace "Allow priorities directly on Jobs" Moved and renamed "AdvancedQueueSorterJobProperty"
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: emsa23
          Path:
          src/main/resources/jenkins/advancedqueue/AdvancedQueueSorterJobProperty/config.jelly
          src/main/resources/jenkins/advancedqueue/AdvancedQueueSorterJobProperty/help-priority.html
          src/main/resources/jenkins/advancedqueue/priority/strategy/PriorityJobProperty/config.jelly
          src/main/resources/jenkins/advancedqueue/priority/strategy/PriorityJobProperty/help-priority.html
          http://jenkins-ci.org/commit/priority-sorter-plugin/97bca5dcfbe2f21b41e567ebae5dc091693d2c1c
          Log:
          JENKINS-23552 Replace "Allow priorities directly on Jobs"

          • Moved and renamed "AdvancedQueueSorterJobProperty"
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: emsa23 Path: src/main/resources/jenkins/advancedqueue/AdvancedQueueSorterJobProperty/config.jelly src/main/resources/jenkins/advancedqueue/AdvancedQueueSorterJobProperty/help-priority.html src/main/resources/jenkins/advancedqueue/priority/strategy/PriorityJobProperty/config.jelly src/main/resources/jenkins/advancedqueue/priority/strategy/PriorityJobProperty/help-priority.html http://jenkins-ci.org/commit/priority-sorter-plugin/97bca5dcfbe2f21b41e567ebae5dc091693d2c1c Log: JENKINS-23552 Replace "Allow priorities directly on Jobs" Moved and renamed "AdvancedQueueSorterJobProperty"
          Hide
          emsa23 Magnus Sandberg added a comment -

          Fixed in 3.0

          Show
          emsa23 Magnus Sandberg added a comment - Fixed in 3.0

            People

            • Assignee:
              emsa23 Magnus Sandberg
              Reporter:
              emsa23 Magnus Sandberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: