Skip to content

Commit

Permalink
[HNC-578] - Create process for Pentaho CUST case builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cardosov committed Mar 14, 2024
1 parent 5d8cd7d commit d6670c3
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/cust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CUST workflow
on:
push:
branches:
- HNC-578-9.3.0.6-CUST-277

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
35 changes: 34 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,40 @@
<module>assemblies</module>
</modules>
</profile>
<profile>
<id>cicd-release</id>
<build>
<plugins>
<plugin>
<groupId>org.jfrog.buildinfo</groupId>
<artifactId>artifactory-maven-plugin</artifactId>
<version>3.6.1</version>
<executions>
<execution>
<id>build-info</id>
<goals>
<goal>publish</goal>
</goals>
<configuration>
<buildInfo>
<buildName>${build.name}</buildName>
<buildNumber>${build.number}</buildNumber>
<buildUrl>${env.JFROG_CLI_BUILD_URL}</buildUrl>
</buildInfo>
<publisher>
<contextUrl>${env.ARTIFACTORY_BASE_URL}/</contextUrl>
<username>${env.NEXUS_DEPLOY_USER}</username>
<password>${env.NEXUS_DEPLOY_PASSWORD}</password>
<repoKey>${env.PRIVATE_RELEASE_REPO}</repoKey>
<snapshotRepoKey>${env.PRIVATE_SNAPSHOT_REPO}</snapshotRepoKey>
</publisher>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>


Expand Down Expand Up @@ -351,5 +385,4 @@
</pluginRepository>
</pluginRepositories>


</project>
6 changes: 6 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d6670c3

Please sign in to comment.