有没有办法在 Azure-DevOps 构建管道中异步运行命令行?

OlD*_*rty 5 api command-line automated-tests newman azure-devops

我正在设置一个 Azure-DevOps 管道,我想在其中包含通过 Newman CLI 进行的自动化测试。

想象一下这样的管道。

Build Project 
Copy build to test folder  
Run the application => (API-Server) 
Run Newman 
Kill API Server Process 
On Success Copy Build to another folder. 
Run Code Online (Sandbox Code Playgroud)

我的问题是我的服务器应用程序在初始化后处于等待状态。我的构建管道中的下一个任务将无法启动。

有没有办法在 Azure-DevOps 中异步运行多个命令行?

通过“开始”启动该过程将不起作用,因为它会给我一个

ERROR: Input redirection is not supported, exiting the process immediately.

start "%TESTDIR%\foo\bar.exe"
timeout 10
Run Code Online (Sandbox Code Playgroud)