Parallel steps execution

Fahrbot's Avatar


19 May, 2018 08:36 AM

Is there any possibility to parallelize tasks?
For example npm restoring and downloading some additional files?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 21 May, 2018 09:05 PM

    Ilya Finkelshteyn's Avatar

    It is not supported 1st class but you can try to do some scripting like this:

      exePath: C:\BuildTools_Full.exe
    - ps: Start-Job -Name download -ScriptBlock {(New-Object Net.WebClient).DownloadFile($env:downloadUrl, $env:exePath)}
    - cmd: npm install
    - ps: Wait-Job -Name download

    here is the build worked for me. I did not tested that on really heavy npm install in parallel with big file download, so I do not know how much build speed it increased. Let us know how it works for you.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:28 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac