Skip to content

Commit

Permalink
chore: update repo semaphore config
Browse files Browse the repository at this point in the history
  • Loading branch information
ConfluentSemaphore committed May 5, 2024
1 parent 1e43511 commit 325f5ac
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ global_job_config:
commands:
- checkout
- sem-version java 8
- . cache-maven restore

blocks:
- name: Test
Expand All @@ -37,15 +38,27 @@ blocks:
- name: Test
commands:
- . sem-pint -c
- ./gradlew test
- . cve-scan
- mvn -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode --no-transfer-progress clean verify install dependency:analyze validate
- cve-scan
- . cache-maven store
epilogue:
always:
commands:
- . publish-test-results
- artifact push workflow target/test-results
- artifact push workflow target

- name: Release
dependencies: ["Test"]
run:
when: "branch = 'master' or branch =~ '[0-9]+\\.[0-9]+\\.x'"
task:
jobs:
- name: Release
commands:
- mvn -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode -DaltDeploymentRepository=confluent-codeartifact-internal::default::https://confluent-519856050701.d.codeartifact.us-west-2.amazonaws.com/maven/maven-snapshots/
-DrepositoryId=confluent-codeartifact-internal deploy -DskipTests

after_pipeline:
task:
agent:
Expand Down

0 comments on commit 325f5ac

Please sign in to comment.