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

A disabled project is always DISABLED even is the project is building

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      When a project is disabled, still it can execute a build.
      In the eXtreme Feedback panel it is shown as not building.

      The reason:
      hudson.model.AbstractProject.getIconColor()
      public BallColor getIconColor()
      {
      if (isDisabled())

      { return BallColor.DISABLED; }

      return super.getIconColor();
      }

      This can be changed to:

      BallColor normalColor = super.getIconColor();
      if(isDisabled())
      {
      if(normalColor.isAnimated())

      { return BallColor.DISABLED_ANIME; }

      return BallColor.DISABLED;
      }
      return normalColor;

      We use disable project to let a project finish his job and then take action on that job and prevent a next build is started.
      The eXtreme feedback panel does not help us right now to see if the job is finished.

          [JENKINS-8358] A disabled project is always DISABLED even is the project is building

          Cees Bos created issue -
          Anne Stellingwerf made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Daniel Beck made changes -
          Assignee New: Daniel Beck [ danielbeck ]
          Daniel Beck made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 138468 ] New: JNJira + In-Review [ 188017 ]

            danielbeck Daniel Beck
            cbos Cees Bos
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: