-
Bug
-
Resolution: Unresolved
-
Minor
-
None
Facing error while running pipeline job for integration of Terraform.
Couldn't find any revision to build. Verify the repository and branch configuration for this job.
CODE
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