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 name: Build and Release
script: script:
- ./gradlew clean build shadowJar startShadowScripts buildDep buildRpm - ./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/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/*.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 - 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 HMCi - HMC Insights
Requires Java 8 (or later) runtime. Requires a Java 8 (or later) runtime.
For more information, visit https://bitbucket.org/nellemann_biz/hmci For more information, visit https://bitbucket.org/mnellemann/hmci/