jstastny-cz opened a new issue, #1151: URL: https://github.com/apache/incubator-kie-issues/issues/1151
Recently there started to appear a failure during scm checkout when pipeline job tried to get the Jenkinsfiles to run: ``` ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from https://github.com/apache/incubator-kie-kogito-pipelines.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:999) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1241) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1305) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:129) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:165) at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:71) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:311) at hudson.model.ResourceController.execute(ResourceController.java:101) at hudson.model.Executor.run(Executor.java:442) Caused by: hudson.plugins.git.GitException: Command "git reset --hard" returned status code 128: stdout: stderr: error: unable to read sha1 file of .asf.yaml (40a66c4ceaad54437a2c106b228eb8b4931ff807) error: unable to read sha1 file of .ci/actions/action-junit-report/action.yml (7f889000d9fd3b5e92d0ad2aef0e985d934aa6e0) ``` Workaround is to perform this step with extension > Wipe out repository & force clone - Delete the contents of the workspace before building, ensuring a fully fresh workspace. Which in DSL should be the option `wipeOutWorkspace()` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
