在我的bitbucket-pipelines.yml文件中,我有這個: - step: image: python:3.7.2-stretch name: upload to s3 script: - export S3_BUCKET="elasticbeanstalk-us-east-1-133233433288" - export VERSION_LABEL=$(cat VERSION_LABEL) - sudo apt-get install -y zip # required for packaging up the application - pip install boto3==1.3.0 # required for upload_to_s3.py - zip --exclude=*.git* -r /tmp/artifact.zip . # package up the application for deployment - python upload_to_s3.py # run the deployment script但是當我在 Bitbucket 中運行這個管道時,我得到一個錯誤,輸出:+ sudo apt-get install -y zipbash: sudo: command not found為什么它不知道是什么sudo意思?這不是所有 Linux 機器都通用的嗎?
添加回答
舉報
0/150
提交
取消