Jenkins cannot access git
up vote
1
down vote
favorite
After a crash of the Jenkins server, I cannot start my projects builds.
I get this weird message. Any clues?
hudson.plugins.git.GitException: Command "git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master --prune" returned status code 128:
stdout:
stderr: error: object file .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c is empty
error: object file .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c is empty
fatal: loose object 10f103eb6e4590be766e67ca961e65f5c4e6836c (stored in .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c) is corrupt
fatal: The remote end hung up unexpectedly
git jenkins
add a comment |
up vote
1
down vote
favorite
After a crash of the Jenkins server, I cannot start my projects builds.
I get this weird message. Any clues?
hudson.plugins.git.GitException: Command "git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master --prune" returned status code 128:
stdout:
stderr: error: object file .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c is empty
error: object file .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c is empty
fatal: loose object 10f103eb6e4590be766e67ca961e65f5c4e6836c (stored in .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c) is corrupt
fatal: The remote end hung up unexpectedly
git jenkins
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
After a crash of the Jenkins server, I cannot start my projects builds.
I get this weird message. Any clues?
hudson.plugins.git.GitException: Command "git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master --prune" returned status code 128:
stdout:
stderr: error: object file .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c is empty
error: object file .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c is empty
fatal: loose object 10f103eb6e4590be766e67ca961e65f5c4e6836c (stored in .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c) is corrupt
fatal: The remote end hung up unexpectedly
git jenkins
After a crash of the Jenkins server, I cannot start my projects builds.
I get this weird message. Any clues?
hudson.plugins.git.GitException: Command "git fetch --tags --progress origin +refs/heads/master:refs/remotes/origin/master --prune" returned status code 128:
stdout:
stderr: error: object file .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c is empty
error: object file .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c is empty
fatal: loose object 10f103eb6e4590be766e67ca961e65f5c4e6836c (stored in .git/objects/10/f103eb6e4590be766e67ca961e65f5c4e6836c) is corrupt
fatal: The remote end hung up unexpectedly
git jenkins
git jenkins
edited Nov 8 at 14:52
Mukesh M
1,13561627
1,13561627
asked Nov 8 at 11:03
Jandroid1
415
415
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
In my case I did following
Select Workspace and click on Wipe Out Current Workspace. This will delete your workspace.
Now just start new build and it will work.
add a comment |
up vote
0
down vote
Had the same a few times.
Sometimes the above answer may of @"Mukesh M" may help - that is a decent approach. In other cases, the following approach helped me a few times.
First visit the /var/jenkins_home/caches folder. Delete the git-hashes. The next start of the job will retrieve everything from git again so the job will run smooth again. So omitting the git cache.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
In my case I did following
Select Workspace and click on Wipe Out Current Workspace. This will delete your workspace.
Now just start new build and it will work.
add a comment |
up vote
0
down vote
In my case I did following
Select Workspace and click on Wipe Out Current Workspace. This will delete your workspace.
Now just start new build and it will work.
add a comment |
up vote
0
down vote
up vote
0
down vote
In my case I did following
Select Workspace and click on Wipe Out Current Workspace. This will delete your workspace.
Now just start new build and it will work.
In my case I did following
Select Workspace and click on Wipe Out Current Workspace. This will delete your workspace.
Now just start new build and it will work.
edited Nov 8 at 13:08
answered Nov 8 at 13:03
Mukesh M
1,13561627
1,13561627
add a comment |
add a comment |
up vote
0
down vote
Had the same a few times.
Sometimes the above answer may of @"Mukesh M" may help - that is a decent approach. In other cases, the following approach helped me a few times.
First visit the /var/jenkins_home/caches folder. Delete the git-hashes. The next start of the job will retrieve everything from git again so the job will run smooth again. So omitting the git cache.
add a comment |
up vote
0
down vote
Had the same a few times.
Sometimes the above answer may of @"Mukesh M" may help - that is a decent approach. In other cases, the following approach helped me a few times.
First visit the /var/jenkins_home/caches folder. Delete the git-hashes. The next start of the job will retrieve everything from git again so the job will run smooth again. So omitting the git cache.
add a comment |
up vote
0
down vote
up vote
0
down vote
Had the same a few times.
Sometimes the above answer may of @"Mukesh M" may help - that is a decent approach. In other cases, the following approach helped me a few times.
First visit the /var/jenkins_home/caches folder. Delete the git-hashes. The next start of the job will retrieve everything from git again so the job will run smooth again. So omitting the git cache.
Had the same a few times.
Sometimes the above answer may of @"Mukesh M" may help - that is a decent approach. In other cases, the following approach helped me a few times.
First visit the /var/jenkins_home/caches folder. Delete the git-hashes. The next start of the job will retrieve everything from git again so the job will run smooth again. So omitting the git cache.
answered Nov 10 at 8:58
tjm1706
2,59932156
2,59932156
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53206429%2fjenkins-cannot-access-git%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown