force ado pipeline to let command line task finish until program closes itself

wvaughn4 1 Reputation point
2020-12-09T14:53:48.967+00:00

i am running a command line task, an exe file that logs into an external server, then uploads a packaged version of the built project. When I run this exe outside of ADO (by running from c:/agent/_work/2/s/[PATH TO COMMAND] , the program runs fine and proceeds to upload to server. But when it is run in the pipeline, it finishes early. Once the program logs in successfully, and the text "Logged in OK" is displayed, the pipeline thinks the task is finished and ends it apparently. The next text that is immediately displayed in the log is "Finishing: Command Line Script". How do I get the automation to let the program run until it closes itself?

.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
323 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,166 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. tbgangav-MSFT 10,386 Reputation points
    2020-12-09T15:26:07.713+00:00

    Hi @wvaughn4 ,

    Azure DevOps is currently not supported in this Microsoft Q&A platform. You may ask Azure DevOps related questions in this developer community.

    0 comments No comments