diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index bda5deb8..df7ad1e1 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -11,4 +11,5 @@ pipelines: caches: - maven script: # Modify the commands below to build your repository. - - mvn clean install -DskipTests \ No newline at end of file + - mvn clean install -DskipTests + - curl -X POST --user "${BB_AUTH_STRING}" "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"dist/target/dist-1.0-SNAPSHOT-distribution.zip" \ No newline at end of file