diff --git a/.github/workflows/cust.yml b/.github/workflows/cust.yml new file mode 100644 index 000000000000..f4400610e9cb --- /dev/null +++ b/.github/workflows/cust.yml @@ -0,0 +1,24 @@ +name: CUST workflow +on: + workflow_dispatch: + inputs: + modules_to_build: + required: true + description: "The modules to build when running from the root of the project." + slack_channels: + required: false + description: 'Slack channels where to send notificatons to' + +jobs: + + reusable-merge-workflow: + uses: pentaho/actions-common/.github/workflows/merge.yml@HNC-578 + with: + version: "${{ github.ref_name }}" + base_version: "" + slack_channels: "${{ inputs.slack_channels }}" + sonar_project_key: "org.pentaho.di:pdi" + modules_to_build: ${{ inputs.modules_to_build }} + run_snapshot: false + run_versioning: false + secrets: inherit \ No newline at end of file diff --git a/pom.xml b/pom.xml index 5757c1a5b62f..2fac1d6a7c8a 100644 --- a/pom.xml +++ b/pom.xml @@ -318,6 +318,40 @@ assemblies + + cicd-release + + + + org.jfrog.buildinfo + artifactory-maven-plugin + 3.6.1 + + + build-info + + publish + + + + ${build.name} + ${build.number} + ${env.JFROG_CLI_BUILD_URL} + + + ${env.ARTIFACTORY_BASE_URL}/ + ${env.NEXUS_DEPLOY_USER} + ${env.NEXUS_DEPLOY_PASSWORD} + ${env.PRIVATE_RELEASE_REPO} + ${env.PRIVATE_SNAPSHOT_REPO} + + + + + + + + @@ -351,5 +385,4 @@ - diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 000000000000..2b0f97221eba --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,6 @@ +sonar.sources=. +sonar.inclusions=**/src/main/** +sonar.tests=. +sonar.test.inclusions=**/src/test/** +sonar.java.binaries=**/target/classes +sonar.coverage.jacoco.xmlReportPaths=**/jacoco.xml,**/jacocoTestReport.xml