jenkinsci / jenkinsci/git-plugin

[JENKINS-35356] Support for Stash Backup Client

Open
#2,874 0 comments 0 reactions 0 assignees View on GitHub
component:git-plugin component:repo-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
694
Forks
1.1k
Avg merge
1h 29m
Merged PRs (30d)
3

Description

When Stash Backup Client is running Jenkins fails with polling logs.

Stash is currently unavailable:

- The system is unavailable while maintenance is being performed.
- Stash is unavailable while it is being backed up
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Stash is currently unavailable:
- The system is unavailable while maintenance is being performed.
- Stash is unavailable while it is being backed up
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: cannot obtain manifest ssh://path_to_geritt_manifest
Done. Took 1 min 10 sec
Changes found


There is the same behavior in Bamboo: https://jira.atlassian.com/browse/BAM-14555

Both came from the fact, that Stash doesn't have zero time backups https://jira.atlassian.com/browse/BSERV-4255, however plugin should take into account that backup is running and prevent SCM Poll during that time.

---
Originally reported by pawelgrz, imported from: Support for Stash Backup Client


  • status: Open
  • priority: Minor
  • component(s): git-plugin, repo-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-02

Raw content of original issue

When Stash Backup Client is running Jenkins fails with polling logs.


Stash is currently unavailable:

- The system is unavailable while maintenance is being performed.
- Stash is unavailable while it is being backed up
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Stash is currently unavailable:
- The system is unavailable while maintenance is being performed.
- Stash is unavailable while it is being backed up
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: cannot obtain manifest ssh://path_to_geritt_manifest
Done. Took 1 min 10 sec
Changes found



There is the same behavior in Bamboo: https://jira.atlassian.com/browse/BAM-14555
Both came from the fact, that Stash doesn't have zero time backups https://jira.atlassian.com/browse/BSERV-4255, however plugin should take into account that backup is running and prevent SCM Poll during that time.

environment

```
Jenkins 1.625

Git plugin 2.4.0

Stash Notifier 1.9.0

REPO plugin 1.10.0
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.