Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket pipeline | no artifacts uploaded

tuhin.debnath November 28, 2019

Hi, 

I am trying to package a build and uploaded it to S3 but to complete the step the build is not getting uploaded to Artifacts. Below is my pipeline code, need help to spot the error. 

    Build:

      - step:

          name: Deploying the build

          script:

            - apt-get update -y

            - curl -O https://bootstrap.pypa.io/get-pip.py

            - python get-pip.py

            - pip install boto3==1.3.0

            - git clone git@bitbucket.org:org/resources.git $(dirname `pwd`)/resources

            - ./build.sh -f buildname -p

          artifacts:

            - target/builldname.war

      - step:

          script:

            - pipe: atlassian/aws-s3-deploy:0.3.7

              variables:

                  AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID

                  AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY

                  AWS_DEFAULT_REGION: 'AWS-region'

                  S3_BUCKET: 'bucket_name'

                  LOCAL_PATH: buildname.war

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events