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

Build does not honor wait

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • Kubernetes 1.28.10
      Jenkins Helm Chart version 5.3.3
      Jenkins 2.452.2
      RHEL 8

      Below is a sample code:

      The second build is run before job1 returns, implying that wait is not honor when true.

      buildResult = build( job: 'job1', wait: true, waitForBuild: true, propagate: false)

      buildResult = build( job: 'job2', wait: true, waitForBuild: true, propagate: false)

       

      Not sure whether this got to do with Kubernetes but I do not see this problem on a VM version of the Jenkins.

            Unassigned Unassigned
            jasoner Jason Er
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: