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

Extension of "Monitor an external job" jobs.

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Platform: All, OS: All

      This job-type is nice. It would be even better if:

      1) The e-mail notification could apply for this job-type.

      2) Some of the post-build actions could apply for this job-type (at least "Build
      other projects").

      3) When monitoring an external job, the fact that the job has not run for a
      period of time is often a problem which should be notified. Could we have an
      option to specify a period of time, and functionality so that the e-mail
      notification information from 1) is used to notify that the job has not been
      running lately.

          [JENKINS-1392] Extension of "Monitor an external job" jobs.

          jergan created issue -

          jergan added a comment -
              • Issue 1191 has been marked as a duplicate of this issue. ***

          jergan added a comment - Issue 1191 has been marked as a duplicate of this issue. ***
          jergan made changes -
          Link New: This issue is duplicated by JENKINS-1191 [ JENKINS-1191 ]

          The challenge is that Publisher works with AbstractProject, but ExternalJob
          doesn't extend from this.

          Looks like we need one more degree of generalization.

          Kohsuke Kawaguchi added a comment - The challenge is that Publisher works with AbstractProject, but ExternalJob doesn't extend from this. Looks like we need one more degree of generalization.

          jergan added a comment -

          Yes, that makes sense. One class that contains publish functionality that both
          AbstractProject and ExternalJob could inherit from.

          jergan added a comment - Yes, that makes sense. One class that contains publish functionality that both AbstractProject and ExternalJob could inherit from.
          kutzi made changes -
          Link New: This issue is blocking JENKINS-6871 [ JENKINS-6871 ]

          kutzi added a comment -

          Any news on this one?

          (moving to 'core' component as it IMO belong there)

          kutzi added a comment - Any news on this one? (moving to 'core' component as it IMO belong there)
          kutzi made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: other [ 15490 ]

          Scott Morgan added a comment -

          It does not look trivial to get publishers working with Job classes (vs AbstractProject), especially as MailSender uses AbstractBuild (and Jobs create Runs). A simpler approach would be to have ExternalJob (or ViewJob) be a subclass of AbstractProject. These would be projects with only publishers.

          Seeing that AbstractProject is an extension point, I'll start on a plugin.

          Scott Morgan added a comment - It does not look trivial to get publishers working with Job classes (vs AbstractProject), especially as MailSender uses AbstractBuild (and Jobs create Runs). A simpler approach would be to have ExternalJob (or ViewJob) be a subclass of AbstractProject. These would be projects with only publishers. Seeing that AbstractProject is an extension point, I'll start on a plugin.
          Jesse Glick made changes -
          Component/s New: external-monitor-job [ 17123 ]
          Component/s Original: core [ 15593 ]

            Unassigned Unassigned
            jergan jergan
            Votes:
            16 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: