mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-26 04:00:49 +00:00
Fix deploy task env (#3878)
This commit is contained in:
@@ -107,15 +107,16 @@ func metadataPipelineFromModelPipeline(pipeline *model.Pipeline, includeParent b
|
||||
}
|
||||
|
||||
return metadata.Pipeline{
|
||||
Number: pipeline.Number,
|
||||
Parent: parent,
|
||||
Created: pipeline.Created,
|
||||
Started: pipeline.Started,
|
||||
Finished: pipeline.Finished,
|
||||
Status: string(pipeline.Status),
|
||||
Event: string(pipeline.Event),
|
||||
ForgeURL: pipeline.ForgeURL,
|
||||
Target: pipeline.Deploy,
|
||||
Number: pipeline.Number,
|
||||
Parent: parent,
|
||||
Created: pipeline.Created,
|
||||
Started: pipeline.Started,
|
||||
Finished: pipeline.Finished,
|
||||
Status: string(pipeline.Status),
|
||||
Event: string(pipeline.Event),
|
||||
ForgeURL: pipeline.ForgeURL,
|
||||
DeployTo: pipeline.DeployTo,
|
||||
DeployTask: pipeline.DeployTask,
|
||||
Commit: metadata.Commit{
|
||||
Sha: pipeline.Commit,
|
||||
Ref: pipeline.Ref,
|
||||
|
Reference in New Issue
Block a user