Skip to content

[JENKINS-682] Clone workspace between jobs #23966

@jenkins-infra-bot

Description

@jenkins-infra-bot

Seems that the usual way how jobs work on hudson is that there is one job for
building a project and then if I want to have a subsequent job to run all unit
tests, that job needs to download artifacts produced by that build job from
Hudson. As a consequence, people usually add separate targets to their build
scripts for running unit tests from hudson which download the build artifacts
from the network.
I think it would be nice if things could work the way how users would do it when
running tests locally - i.e. use usual targets for building and then simply run
a target for unit tests in the same workspace. This could be achieved by
providing the subsequent jobs an exact snapshot of the workspace at the time
when the parent job finished running.


Originally reported by mmatula, imported from: Clone workspace between jobs
  • assignee: abayer
  • status: Closed
  • priority: Critical
  • component(s): other
  • resolution: Fixed
  • resolved: 2010-03-14T08:44:51+00:00
  • votes: 42
  • watchers: 30
  • imported: 2025-12-08
Raw content of original issue

Seems that the usual way how jobs work on hudson is that there is one job for building a project and then if I want to have a subsequent job to run all unit tests, that job needs to download artifacts produced by that build job from Hudson. As a consequence, people usually add separate targets to their build scripts for running unit tests from hudson which download the build artifacts from the network. I think it would be nice if things could work the way how users would do it when running tests locally - i.e. use usual targets for building and then simply run a target for unit tests in the same workspace. This could be achieved by providing the subsequent jobs an exact snapshot of the workspace at the time when the parent job finished running.

  • environment: Platform: All, OS: All

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions