You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2022/10/25 06:24:37 UTC

[camel-quarkus] branch main updated: Fix nightly sync workflow build failure reporting on Windows

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new f4fd0f9c6a Fix nightly sync workflow build failure reporting on Windows
f4fd0f9c6a is described below

commit f4fd0f9c6ad5c29a8e292c3a40552ed004e7127a
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Oct 25 07:23:58 2022 +0100

    Fix nightly sync workflow build failure reporting on Windows
---
 .github/workflows/camel-master-cron.yaml   | 1 +
 .github/workflows/quarkus-master-cron.yaml | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/.github/workflows/camel-master-cron.yaml b/.github/workflows/camel-master-cron.yaml
index 11e56420f8..bcb541d73f 100644
--- a/.github/workflows/camel-master-cron.yaml
+++ b/.github/workflows/camel-master-cron.yaml
@@ -398,6 +398,7 @@ jobs:
             clean verify
       - name: Report Build Failure
         if: failure() || cancelled()
+        shell: bash
         run: |
           ./mvnw ${MAVEN_ARGS} verify -N -Pbuild-notification -Dstatus=${{ job.status }} -DissueId=${{ env.ISSUE_ID }} -Dtoken=${{ secrets.GITHUB_TOKEN }} -DbuildId=$(cat ~/build-data/build-id.txt) -Drepo=${GITHUB_REPOSITORY} -Dbranch=camel-main -Dbranch-commit=$(cat ~/build-data/main-sha.txt)
 
diff --git a/.github/workflows/quarkus-master-cron.yaml b/.github/workflows/quarkus-master-cron.yaml
index 3049ebc2f2..183c7d9f5a 100644
--- a/.github/workflows/quarkus-master-cron.yaml
+++ b/.github/workflows/quarkus-master-cron.yaml
@@ -64,6 +64,7 @@ jobs:
           git rev-parse origin/main > ~/build-data/main-sha.txt
       - name: Build Quarkus
         run: |
+          cd ../
           git clone --depth 1 --branch main https://github.com/quarkusio/quarkus.git \
             && cd quarkus \
             && echo "Current Quarkus commit:" $(git rev-parse HEAD) \
@@ -403,6 +404,7 @@ jobs:
             clean verify
       - name: Report Build Failure
         if: failure() || cancelled()
+        shell: bash
         run: |
           ./mvnw ${MAVEN_ARGS} verify -N -Pbuild-notification -Dstatus=${{ job.status }} -DissueId=${{ env.ISSUE_ID }} -Dtoken=${{ secrets.GITHUB_TOKEN }} -DbuildId=$(cat ~/build-data/build-id.txt) -Drepo=${GITHUB_REPOSITORY} -Dbranch=quarkus-main -Dbranch-commit=$(cat ~/build-data/main-sha.txt)