I followed the instruction to deploy:
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"
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)?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.