sixeyed / diamol

Code samples for the book "Learn Docker in a Month of Lunches"
https://www.manning.com/books/learn-docker-in-a-month-of-lunches
Creative Commons Attribution Share Alike 4.0 International
496 stars 261 forks source link

Build fails #39

Open bparanj opened 2 years ago

bparanj commented 2 years ago

I have downloaded this repo to the folder: ~/Documents/diamol-master. When running the first build I get the error:

Started by user diamol
Checking out git http://gogs:3000/diamol/diamol.git into /data/workspace/diamol@script to read ch11/exercises/Jenkinsfile
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /data/workspace/diamol@script/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url http://gogs:3000/diamol/diamol.git # timeout=10
Fetching upstream changes from http://gogs:3000/diamol/diamol.git
 > git --version # timeout=10
 > git --version # 'git version 2.26.2'
 > git fetch --tags --force --progress -- http://gogs:3000/diamol/diamol.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse origin/master^{commit} # timeout=10
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
ERROR: Maximum checkout retry attempts reached, aborting
Finished: FAILURE

Any ideas on how to fix this issue? I am on Ubuntu 20.04.