Updates to build pipeline.

This commit is contained in:
Mark Nellemann 2020-08-14 13:33:15 +02:00
parent da742bed02
commit 9853f27fdb

View file

@ -16,7 +16,9 @@ pipelines:
- gradle - gradle
name: Build and Release name: Build and Release
script: script:
- ./gradlew clean build shadowJar startShadowScripts buildDep buildRpm - ./gradlew clean build shadowJar startShadowScripts
- ./gradlew buildDep
- ./gradlew buildRpm
- ls -l ${BITBUCKET_CLONE_DIR}/build/libs ${BITBUCKET_CLONE_DIR}/build/distributions - ls -l ${BITBUCKET_CLONE_DIR}/build/libs ${BITBUCKET_CLONE_DIR}/build/distributions
- curl --version - curl --version
- for file in ${BITBUCKET_CLONE_DIR}/build/libs/*-all.jar ; do curl -X POST --user "${BB_AUTH_STRING}" "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"${file}" ; done - for file in ${BITBUCKET_CLONE_DIR}/build/libs/*-all.jar ; do curl -X POST --user "${BB_AUTH_STRING}" "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"${file}" ; done