From 5a5fd6c1ad79d8cb426e7996e0a67ea7f46a8595 Mon Sep 17 00:00:00 2001 From: Manisha Padhi 1 Date: Wed, 6 Mar 2024 21:19:37 +0530 Subject: [PATCH 1/7] testing pr workflow --- .github/workflows/pr.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 000000000000..7eb54dfbe175 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,13 @@ +name: pentaho-kettle pull request workflow +on: + pull_request: + branches: + - master + +jobs: + reusable-pr-workflow: + uses: pentaho/actions-common/.github/workflows/pr.yml@HNC-537 + with: + slack_channels: "" + sonar_project_key: "com.pentaho.reporting.plugin:pentaho-interactive-reporting" + secrets: inherit \ No newline at end of file From 0c4ede4427a27d40834dedfe51d5aa2c6c6164e8 Mon Sep 17 00:00:00 2001 From: Manisha Padhi 1 Date: Thu, 7 Mar 2024 13:21:19 +0530 Subject: [PATCH 2/7] testing on stable branch --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 7eb54dfbe175..6909c8357d44 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,7 +6,7 @@ on: jobs: reusable-pr-workflow: - uses: pentaho/actions-common/.github/workflows/pr.yml@HNC-537 + uses: pentaho/actions-common/.github/workflows/pr.yml@HNC-563 with: slack_channels: "" sonar_project_key: "com.pentaho.reporting.plugin:pentaho-interactive-reporting" From 2907f0546b7529e089c2ad47ee189c6ab5da3490 Mon Sep 17 00:00:00 2001 From: Manisha Padhi 1 Date: Thu, 7 Mar 2024 14:43:54 +0530 Subject: [PATCH 3/7] test --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 6909c8357d44..8eacf1a734cd 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,7 +6,7 @@ on: jobs: reusable-pr-workflow: - uses: pentaho/actions-common/.github/workflows/pr.yml@HNC-563 + uses: "pentaho/actions-common/.github/workflows/pr.yml@HNC-563" with: slack_channels: "" sonar_project_key: "com.pentaho.reporting.plugin:pentaho-interactive-reporting" From 6655d1f511c2e632775009a6362d33451012ffa5 Mon Sep 17 00:00:00 2001 From: Manisha Padhi 1 Date: Thu, 7 Mar 2024 14:55:44 +0530 Subject: [PATCH 4/7] testing syntax errors --- .github/workflows/pr.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8eacf1a734cd..0ebdef089585 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,13 +1,15 @@ -name: pentaho-kettle pull request workflow +name: pentaho-analyzer pull request workflow on: pull_request: - branches: - - master + branches-ignore: + - HNC-541 jobs: + reusable-pr-workflow: - uses: "pentaho/actions-common/.github/workflows/pr.yml@HNC-563" - with: + uses: pentaho/actions-common/.github/workflows/pr.yml@HNC-563 + with: slack_channels: "" - sonar_project_key: "com.pentaho.reporting.plugin:pentaho-interactive-reporting" - secrets: inherit \ No newline at end of file + sonar_project_key: "pentaho:pentaho-analyzer" + secrets: inherit + \ No newline at end of file From 51e4eb478337d372016db3135c1535c7e1c67cf3 Mon Sep 17 00:00:00 2001 From: Manisha Padhi 1 Date: Thu, 7 Mar 2024 14:59:27 +0530 Subject: [PATCH 5/7] testing syntax errors --- .github/workflows/pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 0ebdef089585..33cce21a2da2 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,4 +1,4 @@ -name: pentaho-analyzer pull request workflow +name: pentaho-kettle pull request workflow on: pull_request: branches-ignore: @@ -10,6 +10,6 @@ jobs: uses: pentaho/actions-common/.github/workflows/pr.yml@HNC-563 with: slack_channels: "" - sonar_project_key: "pentaho:pentaho-analyzer" + #sonar_project_key: "pentaho:pentaho-analyzer" secrets: inherit \ No newline at end of file From a6e672bc606d21d6c93e75ccdeaa0e21209cfe04 Mon Sep 17 00:00:00 2001 From: Manisha Padhi 1 Date: Thu, 7 Mar 2024 15:20:04 +0530 Subject: [PATCH 6/7] added sonar file --- .github/workflows/pr.yml | 2 +- sonar-project.properties | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 sonar-project.properties diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 33cce21a2da2..e4227747be79 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,6 +10,6 @@ jobs: uses: pentaho/actions-common/.github/workflows/pr.yml@HNC-563 with: slack_channels: "" - #sonar_project_key: "pentaho:pentaho-analyzer" + sonar_project_key: "org.pentaho.di:pdi" secrets: inherit \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 000000000000..bcb188ee67d6 --- /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 \ No newline at end of file From 5f2bd634417135d11cda15a9700ad9c8aec21d73 Mon Sep 17 00:00:00 2001 From: Manisha Padhi 1 Date: Thu, 7 Mar 2024 16:04:12 +0530 Subject: [PATCH 7/7] added sonar file --- .github/workflows/pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index e4227747be79..6ba723b90f18 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,8 +1,8 @@ name: pentaho-kettle pull request workflow on: pull_request: - branches-ignore: - - HNC-541 + branches: + - master jobs: