Skip to content

Commit

Permalink
Fix github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed Jan 22, 2024
1 parent 6c677c5 commit 4b33dfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .ci/jenkins/tests/setup_pipeline_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ author=$1
branch=$2

if [ -z $author ]; then
author='kiegroup'
author='apache'
fi

if [ -z $branch ]; then
branch='main'
fi

git clone --single-branch --branch $branch https://github.com/${author}/jenkins-pipeline-shared-libraries.git $TEMP_DIR
git clone --single-branch --branch $branch https://github.com/${author}/incubator-kie-kogito-pipelines.git $TEMP_DIR

cd $TEMP_DIR && mvn clean install -DskipTests
cd $TEMP_DIR/jenkins-pipeline-shared-libraries && mvn clean install -DskipTests
4 changes: 2 additions & 2 deletions .github/workflows/pr-jenkins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Checkout shared libraries
uses: actions/checkout@v4
with:
repository: kiegroup/jenkins-pipeline-shared-libraries
path: shared-libs
repository: apache/incubator-kie-kogito-pipelines
path: jenkins-pipeline-shared-libraries

- name: Set up JDK 8
uses: actions/setup-java@v3
Expand Down

0 comments on commit 4b33dfb

Please sign in to comment.