1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-11-23 21:44:44 +02:00

Use existing WorkingDir for clone steps (#5023)

This commit is contained in:
Robert Kaussow
2025-03-31 18:56:09 +02:00
committed by GitHub
parent 286794a800
commit d296c29613
5 changed files with 27 additions and 10 deletions

View File

@@ -96,7 +96,7 @@ func TestCompilerCompile(t *testing.T) {
OnSuccess: true,
Failure: "fail",
Volumes: []string{defaultVolume.Name + ":/woodpecker"},
WorkingDir: "/woodpecker/src/github.com/octocat/hello-world",
WorkingDir: "/woodpecker",
WorkspaceBase: "/woodpecker",
Networks: []backend_types.Conn{{Name: "test_default", Aliases: []string{"clone"}}},
ExtraHosts: []backend_types.HostAlias{},