简体   繁体   中英

Execute 2 python scripts simultaneously using Jenkins

I have 2 python scripts that I want to execute at the same time using Jenkins, however every method I have tried executes the first one and waits for it to finish in order to start the next. Does anyone have a solution for this? Another option is to maybe make 2 builds in jenkins and have the 2nd one start building a minute or so after the first, but I am not sure how to do that either...

You can use Parallel Stage by using pipelines. This way you can run your scripts in the same time.

You can check this for more details. https://jenkins.io/doc/book/pipeline/syntax/#parallel

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM