最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

shell - How to make wait command work in bitbucket pipeline - Stack Overflow

programmeradmin3浏览0评论

There is a test pipeline with one step with the following script

script:
      - bash pipeline_scripts/config_databases.sh
      - bash run_test1.sh &
      - bash run_test2.sh &
      - wait

The wait is on purpose of waiting for the run_test1.sh and run_test2.sh in the background to complete. But it does not wait as expected, how to resolve this?

发布评论

评论列表(0)

  1. 暂无评论