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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • core
    • None

    Description

      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.

      Attachments

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: