1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

Fix parent pipeline number env on restarts (#3683)

This commit is contained in:
qwerty287 2024-05-06 11:47:02 +02:00 committed by GitHub
parent 26faa2bef3
commit 8b785be645
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ func Restart(ctx context.Context, store store.Store, lastPipeline *model.Pipelin
}
newPipeline := createNewOutOfOld(lastPipeline)
newPipeline.Parent = lastPipeline.ID
newPipeline.Parent = lastPipeline.Number
err = store.CreatePipeline(newPipeline)
if err != nil {