ExportXMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: p4-plugin
    • None

      An http call to trigger a build using http://host/p4/change will hang when a build is already running.

      Expected: returns immediately, build scheduled
      Actual: waits until current job finished, build scheduled

      This means you should not syncronously call curl within a perforce change-commit trigger as it will delay completion of the submit. Instead, you should asynchronously make the /p4/change call as other network issues, not just this issue, can also delay the response.

      Repro:
      add a build step to 'sleep 100'. Start a build. Now issue the curl call to /p4/change. You'll see curl doesn't finish until the build finished.

            Assignee:
            Karl Wirth
            Reporter:
            Joel Brown
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: