Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contributor's fork must be named incubator-kie-kogito-images or PR checks won't work #1729

Open
ricardozanini opened this issue Jan 16, 2024 · 0 comments

Comments

@ricardozanini
Copy link
Member

There's a bug in our Build & Test pipeline where the script is expecting the fork's to be named incubator-kie-kogito-images:

Cloning the remote Git repository
Cloning repository https://github.com/wmedvede/incubator-kie-kogito-images.git
 > git init /home/jenkins/jenkins-agent/workspace/KIE/kogito/main/pullrequest/kogito-images.build-and-test@2/incubator-kie-kogito-images/githubscm-prepare-commit-incubator-kie-kogito-images # timeout=10
Fetching upstream changes from https://github.com/wmedvede/incubator-kie-kogito-images.git
 > git --version # timeout=10
 > git --version # 'git version 2.34.1'
using GIT_ASKPASS to set credentials asf-ci token
 > git fetch --tags --force --progress -- https://github.com/wmedvede/incubator-kie-kogito-images.git +refs/heads/*:refs/remotes/origin/* # timeout=10
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git fetch --tags --force --progress -- https://github.com/wmedvede/incubator-kie-kogito-images.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: remote: Repository not found.
fatal: repository 'https://github.com/wmedvede/incubator-kie-kogito-images.git/' not found

We should use the build parameters instead where we have the actual fork information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant