【发布时间】:2021-04-25 09:18:17
【问题描述】:
image: node:14.15.4
pipelines:
branches:
'INSTALL STEP':
- step:
name: Install Gcloud and transfer files
script:
- echo "starting build"
- <<I INSTALL GCLOUD HERE FROM A SEPERATE SH FILE, ALSO PATHS ARE SET>>
- step:
name: gsutil execution
script:
- gsutil cp <<some code goes here>>
我面临的问题是,如果我将 gsutil 放在单独的步骤中,则会以 gsutil: command not found 的形式出现错误。如果我把它放在我安装 gcloud 的脚本中,它工作正常。请帮忙。
【问题讨论】:
标签: shell gcloud bitbucket-pipelines gsutil