Can't see the war artifacts deployed to the Download?

Martin Min
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!
March 11, 2018

I followed the instruction to deploy: 

https://confluence.atlassian.com/bitbucket/deploy-build-artifacts-to-bitbucket-downloads-872124574.html?_ga=2.7157746.1530744774.1520804169-526659715.1520804169

Everything works fine. However, in the Download section of my repository, I can't see the ".war" file. It's a zip file that contains the whole project without the war file, which is just a copy of my original maven project structure. I thought it's a deployment of the jar or war file. My pipeline configuration is below:

 

image: maven:3.5.3-jdk-8

pipelines:
default:
- step:
caches:
- maven
script: # Modify the commands below to build your repository.
- mvn -B clean install # -B batch mode makes Maven less verbose
- curl -X POST --user "${BB_AUTH_STRING}" "https://api.bitbucket.org/2.0/repositories/${lingv}/${namingstory}/downloads" --form files=@"target/namingstory.war"

 

1 answer

0 votes
Jeroen De Raedt
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2018

Hi @Martin Min,

that looks fine on first sight. Could you make sure that 'target/namingstory.war' exists in your build (e.g. by executing 'ls target' before the upload command)? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events