This is an automated email from the ASF dual-hosted git repository.
tyrantlucifer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 6c54a9974 [Hotfix][CI] Fix ci exit error (#4342)
6c54a9974 is described below
commit 6c54a997457a2aa256fe76ebd71762b7ad1af7fa
Author: Tyrantlucifer <[email protected]>
AuthorDate: Mon Mar 13 18:34:30 2023 +0800
[Hotfix][CI] Fix ci exit error (#4342)
---
.github/workflows/backend.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 84b818d7d..f6476917b 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -359,7 +359,11 @@ jobs:
if: needs.changes.outputs.api == 'false' &&
needs.changes.outputs.it-modules != ''
run: |
sub_modules=`python
tools/update_modules_check/update_modules_check.py sub_update_it_module
${{needs.changes.outputs.it-modules}} 2 1`
- [ ! -z $sub_modules ] && ./mvnw -T 1C -B verify -DskipUT=true
-DskipIT=false -D"license.skipAddThirdParty"=true --no-snapshot-updates -pl
$sub_modules -am -Pci
+ if [ ! -z $sub_modules ]; then
+ ./mvnw -T 1C -B verify -DskipUT=true -DskipIT=false
-D"license.skipAddThirdParty"=true --no-snapshot-updates -pl $sub_modules -am
-Pci
+ else
+ echo "sub modules is empty, skipping"
+ fi
env:
MAVEN_OPTS: -Xmx2048m