Updates to build pipeline.
This commit is contained in:
parent
da742bed02
commit
9853f27fdb
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue