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

Job's cyclic dependency not detected

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Environment:
      Windows XP Pro
      Hudson 1.355
    • Similar Issues:

      Description

      When playing aroud with job dependencies, configured as free style projects and simple windws batch commands, I discovered that cyclic job dependencies are not detected.
      Neither when saving configuration nor when running the, supposed, "parent" job.
      E.g.
      JobA is configured to trigger another projet (Build Other Project) JobB wich is on its turn configured to trigger JobC.
      And unfortunately, JobA is finally configured to be lauched after JobC is finished ("Build after other projects are built").

      It results in a cyclic execution with absolutely no warning.
      I think that the cyclic dependency should be at least detected at configuration time and should probably forbid the execution of such a set of jobs.

        Attachments

          Issue Links

            Activity

            jlpinardon jlpinardon created issue -
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-14814 [ JENKINS-14814 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 136433 ] JNJira + In-Review [ 174501 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                jlpinardon jlpinardon
              • Votes:
                5 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: