Have you verified that the commit hash you are trying to build exists in your git repository?
On Thursday, December 23, 2021 at 1:04:00 AM UTC+13 [email protected] wrote: > Started by user admin [Pipeline] Start of Pipeline [Pipeline] node Running > on Jenkins in C:\ProgramData\Jenkins\.jenkins\workspace\terraformCICD > [Pipeline] { [Pipeline] stage [Pipeline] { (fetch_latest_code) [Pipeline] > git Selected Git installation does not exist. Using Default The recommended > git tool is: NONE using credential e7d2502e-6621-49c6-a934-813269c16141 > > C:\Program Files\Git\bin\git.exe rev-parse --resolve-git-dir > C:\ProgramData\Jenkins\.jenkins\workspace\terraformCICD\.git # timeout=10 > Fetching changes from the remote Git repository > C:\Program > Files\Git\bin\git.exe config remote.origin.url > https://github.com/****/test # timeout=10 Fetching upstream changes from > https://github.com/*****/test > C:\Program Files\Git\bin\git.exe > --version # timeout=10 > git --version # 'git version 2.21.0.windows.1' > using GIT_ASKPASS to set credentials > C:\Program Files\Git\bin\git.exe > fetch --tags --force --progress -- https://github.com/****/test > +refs/heads/*:refs/remotes/origin/* # timeout=10 > C:\Program > Files\Git\bin\git.exe rev-parse "refs/remotes/origin/master^{commit}" # > timeout=10 > C:\Program Files\Git\bin\git.exe rev-parse > "origin/master^{commit}" # timeout=10 [Pipeline] } [Pipeline] // stage > [Pipeline] stage [Pipeline] { (TF Init&Plan) Stage "TF Init&Plan" skipped > due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage > [Pipeline] { (Approval) Stage "Approval" skipped due to earlier failure(s) > [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (TF Apply) > Stage "TF Apply" skipped due to earlier failure(s) [Pipeline] } [Pipeline] > // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: > Couldn't find any revision to build. Verify the repository and branch > configuration for this job. Finished: FAILURE > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/26aad2e0-41fe-4b92-8bd7-42ed32ad2eb8n%40googlegroups.com.
