Skip to content

Commit

Permalink
setup version to snapshot during deploy to jboss.org snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
rgdoliveira committed Oct 4, 2024
1 parent c950cfc commit c5190cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .ci/buildchain-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ build:
build-command:
current: |
export MVN_CMD=`bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then printf 'deploy ${{ env.DEPLOY_MVN_OPTS }} ${{ env.DROOLS_DEPLOY_MVN_OPTS }}'; else printf 'install'; fi"`
bash -c "if [ '${{ env.ENABLE_DEPLOY }}' = 'true' ]; then mvn versions:set -DnewVersion=9.101.0-SNAPSHOT; fi"
mvn clean ${{ env.MVN_CMD }} ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.DROOLS_BUILD_MVN_OPTS }}
upstream: |
mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.DROOLS_BUILD_MVN_OPTS_UPSTREAM }}
Expand Down
8 changes: 4 additions & 4 deletions .ci/jenkins/config/branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,28 @@ job_types:
environments:
default:
env_vars:
DROOLS_BUILD_MVN_OPTS: -Dfull
DROOLS_BUILD_MVN_OPTS: -Dproductized
native:
env_vars:
NATIVE: true
BUILD_MVN_OPTS_CURRENT: -Dnative -Dquarkus.native.container-build=true
DROOLS_BUILD_MVN_OPTS: -Dfull
DROOLS_BUILD_MVN_OPTS: -Dproductized
ADDITIONAL_TIMEOUT: 720
ids:
- native
quarkus-main:
enabled: false
env_vars:
QUARKUS_BRANCH: main
DROOLS_BUILD_MVN_OPTS: -Dfull
DROOLS_BUILD_MVN_OPTS: -Dproductized
ids:
- quarkus
sonarcloud:
enabled: false
auto_generation: false
env_vars:
ENABLE_SONARCLOUD: true
DROOLS_BUILD_MVN_OPTS: -Dfull
DROOLS_BUILD_MVN_OPTS: -Dproductized
ids:
- sonarcloud
- coverage
Expand Down

0 comments on commit c5190cb

Please sign in to comment.