From a382a68d4304cb54559c210109763856d30e7642 Mon Sep 17 00:00:00 2001 From: Imesha Sudasingha Date: Wed, 11 Apr 2018 14:30:34 +0530 Subject: [PATCH] Updated bitbucket-pipelines.yml --- bitbucket-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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