diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..2cad6f5 --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,17 @@ +name: Maven central workflow + +on: + push: + pull_request: + workflow_dispatch: + +permissions: + contents: read + +jobs: + maven: + uses: folio-org/.github/.github/workflows/maven.yml@v1 + # 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 deleted file mode 100644 index c4a055c..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,13 +0,0 @@ -buildMvn { - publishModDescriptor = 'yes' - mvnDeploy = 'yes' - buildNode = 'jenkins-agent-java21' - - doDocker = { - buildJavaDocker { - publishMaster = 'yes' - healthChk = 'yes' - healthChkCmd = 'wget --no-verbose --tries=1 --spider http://localhost:8081/admin/health || exit 1' - } - } -}