Updates to build pipeline.

This commit is contained in:
Mark Nellemann 2020-08-14 13:28:07 +02:00
parent cb482264d0
commit da742bed02
2 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,8 @@ pipelines:
name: Build and Release
script:
- ./gradlew clean build shadowJar startShadowScripts buildDep buildRpm
- ls -l ${BITBUCKET_CLONE_DIR}/build/libs ${BITBUCKET_CLONE_DIR}/build/distributions
- 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/distributions/*.deb ; 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/distributions/*.rpm ; 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

View File

@ -1,7 +1,7 @@
HMCi - HMC Insights
Requires Java 8 (or later) runtime.
For more information, visit https://bitbucket.org/nellemann_biz/hmci
Requires a Java 8 (or later) runtime.
For more information, visit https://bitbucket.org/mnellemann/hmci/