From 10c73b0e955a8764c2b5185bee35e90cbbadb229 Mon Sep 17 00:00:00 2001 From: psmagin Date: Tue, 27 Jan 2026 14:45:37 +0200 Subject: [PATCH 1/2] build: use GitHub workflow for CI/CD Closes: MODQM-499 --- .github/workflows/maven.yml | 19 +++++++++++++++++++ Jenkinsfile => Jenkinsfile-disabled | 0 NEWS.md | 1 + 3 files changed, 20 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 00000000..35257bd6 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,19 @@ +name: Maven central workflow + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + maven: + uses: folio-org/.github/.github/workflows/maven.yml@v1.12 + # 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: + java-version: '21' + publish-module-descriptor: true + allow-snapshots-release: false + do-sonar-scan: true + do-docker: true \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile-disabled similarity index 100% rename from Jenkinsfile rename to Jenkinsfile-disabled diff --git a/NEWS.md b/NEWS.md index 5a4d24f8..1a91f07c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -20,6 +20,7 @@ * Improve Docker Compose setup for local development ([MODQM-481](https://folio-org.atlassian.net/browse/MODQM-481)) * Restructure documentation in `README.md` ([MODQM-470](https://folio-org.atlassian.net/browse/MODQM-470)) * Refactor code to comply with Checkstyle method length limit (max 25 lines) ([MODQM-488](https://folio-org.atlassian.net/browse/MODQM-488)) +* Use GitHub workflow for CI/CD ([MODQM-499](https://folio-org.atlassian.net/browse/MODQM-499)) * Add "apt upgrade" to Dockerfile, add .dockerignore ### Dependencies From 520003573be286dfb14287be416de0d78bdd676d Mon Sep 17 00:00:00 2001 From: Pavlo Smahin Date: Tue, 27 Jan 2026 14:49:24 +0200 Subject: [PATCH 2/2] Update Maven workflow version to v1 --- .github/workflows/maven.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 35257bd6..443c9cb1 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -7,7 +7,7 @@ on: jobs: maven: - uses: folio-org/.github/.github/workflows/maven.yml@v1.12 + 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 @@ -16,4 +16,4 @@ jobs: publish-module-descriptor: true allow-snapshots-release: false do-sonar-scan: true - do-docker: true \ No newline at end of file + do-docker: true