Hi All,
I'm not very expert with yml files.
Tried to create the pipeline with some help over the internet.
So far i manage to built my project in Bitbucket with atlas-package.
And i want to use the pipeline deploment to upload my project jar to the "deployment" section of the repository, i tried using Bitbucket built in feature:
script:
- pipe: atlassian/bitbucket-upload-file:0.1.4
variables:
BITBUCKET_USERNAME: $BITBUCKET_USERNAME
BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD
FILENAME: 'package.json'
So my complete yml file is:
image: quantify/atlassian-sdk:latest
pipelines:
branches:
master:
- step:
caches:
- maven
script:
#- atlas-clean
- atlas-package
- pipe: atlassian/bitbucket-upload-file:0.1.4
variables:
BITBUCKET_USERNAME: $BITBUCKET_USERNAME
BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD
FILENAME: --form files=@target/$(cd ./target/ && ls -1 myproject*.jar)
And in the "pipe: atlassian/bitbucket-upload-file:0.1.4" stage, i get this error:
File --form files=@target/myproject.jar doesn't exist.
Can anyone please help me solve this?