Trying to create a Jenkins pipeline to run devenv to build SSIS projects. It appears that devenv returns immediately while the build runs in the background. I've done this previously with VS2010 and as far as I can remember devenv didn't return to the console until the build completed.
I'm running: devenv mysolution.sln /build "debug|Any Cpu". The command prompt returns immediately. There's no build output in the project's bin or obj folders. If I simply watch the folders the build output eventually (a few seconds) shows up.
Is there any way to ensure devenv doesn't return until all the work is complete? I've tried all the options that seem to be relevant from the command line help. Not much on Google or SO seems relevant.
Any thoughts?