Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions .github/workflows/gradle-build.yml

This file was deleted.

75 changes: 75 additions & 0 deletions .github/workflows/manual-mvn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
name: Manual maven steps for ci

on:
pull_request:
branches:
- main
workflow_dispatch:

permissions:
contents: read
checks: write
pull-requests: write
security-events: write
actions: read


jobs:
manual:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
java: [17, 21]

steps:
- uses: actions/checkout@v5

- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: maven

- uses: jfrog/setup-jfrog-cli@v4
env:
JF_URL: ${{ vars.JF_URL }}
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}
- run: |
jf --version
jf rt ping

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java # Specify the language to analyze


- name: build package
run: mvn ${{ vars.GOAL }}


- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

- name: publish test results
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: |
**/target/surefire-reports/*.xml


- name: Uploading packaged jar files
uses: actions/upload-artifact@v4
with:
name: spring-petclinic-jar-${{ matrix.java }}
path: '**/target/*.jar'

- name: Maven Build and Deploy to Artifactory
run: |
jf mvn-config --repo-deploy-releases=learning-libs-release --repo-deploy-snapshots=learning-libs-snapshot
jf mvn deploy
jf rt bp # Optional: Deploy build info


29 changes: 0 additions & 29 deletions .github/workflows/maven-build.yml

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

## Run Petclinic locally



Spring Petclinic is a [Spring Boot](https://spring.io/guides/gs/spring-boot) application built using [Maven](https://spring.io/guides/gs/maven/) or [Gradle](https://spring.io/guides/gs/gradle/). You can build a jar file and run it from the command line (it should work just as well with Java 17 or newer):

```bash
Expand Down
Empty file added ramu
Empty file.