Skip to content
Snippets Groups Projects
Commit bb07a03f authored by Janne Valkealahti's avatar Janne Valkealahti
Browse files

Make workflow less verbose

parent 9b9d9647
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ jobs:
ensure-env: |
BUILD_ZOO_HANDLER_milestone_version
BUILD_ZOO_HANDLER_spring_cloud_dataflow_build_version
BUILD_ZOO_HANDLER_spring_cloud_deployer_build_version
BUILD_ZOO_HANDLER_spring_cloud_deployer_version
# build and publish to configured target
- name: Build and Publish
......@@ -54,18 +54,21 @@ jobs:
-DprocessAllModules=true \
-DgenerateBackupPoms=false \
-Dartifactory.publish.artifacts=false \
-DnewVersion='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-'${BUILD_ZOO_HANDLER_milestone_version}
-DnewVersion='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-'${BUILD_ZOO_HANDLER_milestone_version} \
-B
jfrog rt mvn versions:update-parent \
-gs .github/settings.xml \
-Pstagingmilestone \
-DgenerateBackupPoms=false \
-DparentVersion='['${BUILD_ZOO_HANDLER_spring_cloud_deployer_build_version}']'
-DparentVersion='['${BUILD_ZOO_HANDLER_spring_cloud_deployer_version}']' \
-B
jfrog rt mvn versions:set-property \
-gs .github/settings.xml \
-Pstagingmilestone \
-DgenerateBackupPoms=false \
-Dproperty=spring-cloud-deployer.version \
-DnewVersion=${BUILD_ZOO_HANDLER_spring_cloud_deployer_build_version}
-DnewVersion=${BUILD_ZOO_HANDLER_spring_cloud_deployer_version} \
-B
jfrog rt build-clean
jfrog rt mvn clean install \
-gs .github/settings.xml \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment