Skip to content

[JENKINS-55895] Mercurial cache on stash and unstash is missing #582

Description

@jenkins-infra-bot

When using Mercurial as SCM, with pipelines and the "stash" and "unstash" step, Mercurial is creating two different caches, one on the master and another one on the agent.

 

The problem is that when we "stash", the pipeline only get the cache folder from the workspace. When we do an "unstash" the cache from workspace is recovered but there is some information in the master cache that is not recovered and this makes that the works fail.


Originally reported by jraezrus, imported from: Mercurial cache on stash and unstash is missing
  • status: Open
  • priority: Major
  • component(s): mercurial-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251216-225446
Raw content of original issue

When using Mercurial as SCM, with pipelines and the "stash" and "unstash" step, Mercurial is creating two different caches, one on the master and another one on the agent.

 

The problem is that when we "stash", the pipeline only get the cache folder from the workspace. When we do an "unstash" the cache from workspace is recovered but there is some information in the master cache that is not recovered and this makes that the works fail.

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions