Skip to content

Commit

Permalink
ci: build and deploy maven test jar
Browse files Browse the repository at this point in the history
Co-authored-by: Torsten Will <[email protected]>
  • Loading branch information
sipgate-uhlig and towi committed Sep 17, 2024
1 parent af73203 commit be16f3d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@ on:
- main

jobs:
pipeline:
docker:
uses: sipgate/workflows/.github/workflows/pipeline-docker-image.yaml@main
with:
docker_image: ${{ github.event.repository.name }}
test_command: ./scripts/run-e2e-tests.sh
skip_analysis: true
test_image: sipgate/buildjava_21:bullseye
secrets: inherit

maven:
uses: sipgate/workflows/.github/workflows/maven-package.yaml@main
with:
maven_docker_tag: 3.9
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,19 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit be16f3d

Please sign in to comment.