From fad75ff58ab7cee522a3ce25558e80af02966980 Mon Sep 17 00:00:00 2001 From: David Crossley Date: Tue, 27 Jan 2026 22:53:46 +1100 Subject: [PATCH 1/2] Use maven Workflows MODCONF-157 --- .github/workflows/maven.yml | 16 ++++++++++++++++ Jenkinsfile => Jenkinsfile-disabled | 0 2 files changed, 16 insertions(+) create mode 100644 .github/workflows/maven.yml rename Jenkinsfile => Jenkinsfile-disabled (100%) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..221c6df --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,16 @@ +name: Maven central workflow + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + maven: + uses: folio-org/.github/.github/workflows/maven.yml@v1 + # Only handle push events from the main branch or tags, to decrease PR noise +# if: github.ref_name == github.event.repository.default_branch || github.event_name != 'push' || github.ref_type == 'tag' + secrets: inherit + with: + docker-health-command: 'wget --no-verbose --tries=1 --spider http://localhost:8081/admin/health || exit 1' + diff --git a/Jenkinsfile b/Jenkinsfile-disabled similarity index 100% rename from Jenkinsfile rename to Jenkinsfile-disabled From ceb5086bfd2865846a343a67af9a4f7e27ea6697 Mon Sep 17 00:00:00 2001 From: David Crossley Date: Tue, 27 Jan 2026 23:01:40 +1100 Subject: [PATCH 2/2] Enable workflow trigger conditions MODCONF-157 --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 221c6df..027d1d2 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -9,7 +9,7 @@ jobs: maven: uses: folio-org/.github/.github/workflows/maven.yml@v1 # Only handle push events from the main branch or tags, to decrease PR noise -# if: github.ref_name == github.event.repository.default_branch || github.event_name != 'push' || github.ref_type == 'tag' + if: github.ref_name == github.event.repository.default_branch || github.event_name != 'push' || github.ref_type == 'tag' secrets: inherit with: docker-health-command: 'wget --no-verbose --tries=1 --spider http://localhost:8081/admin/health || exit 1'