The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket pipeline | no artifacts uploaded

tuhin.debnath
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events