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

'Build only if SCM changes' doesn't wait until the build has finished

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Postponed
    • Icon: Critical Critical
    • multijob-plugin
    • None

      For example:

      Build acme-Fast-DSL#536 was executed between 10:54 and 11:02

      Build acme-func-test-Integration-DSL#265 started at 10:59 and failed at 11:01:59 trying to retrieve artifacts from acme-Fast-DSL#536

      According to acme_Multijob#119 console log the two above jobs were never overlapping:

      10:56:59 [poll] Latest remote head revision on refs/heads/develop is: da885eff8afefade30ced857a7642ac0f69c480a - already built by 536
      10:56:59     >> Job status: [acme-Fast-DSL] subjob has no changes since last build. 
      10:56:59     >> Job status: [acme-func-test-Integration-DSL] the 'build only if scm changes' feature is disabled.
      10:56:59 Starting build job acme-func-test-Integration-DSL.
      11:02:15 Finished Build : #265 of Job : acme-func-test-Integration-DSL with status : FAILURE
      

      In reality Multijob has failed to wait for completion of acme-Fast-DSL#536 and incorrectly assumed it's already done at 10:56:59 while it was still running

            Unassigned Unassigned
            jbochenski Jakub Bochenski
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: