mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 23:10:44 +00:00
fix issue with incorrect build status environment variable
This commit is contained in:
@@ -203,7 +203,7 @@ func (a *Agent) exec(spec *yaml.Config, payload *queue.Work, cancel <-chan bool)
|
||||
}
|
||||
// updates the build status passed into each container. I realize this is
|
||||
// a bit out of place and will work to resolve.
|
||||
pipeline.Head().Environment["DRONE_STATUS"] = status
|
||||
pipeline.Head().Environment["DRONE_BUILD_STATUS"] = status
|
||||
|
||||
if !pipeline.Head().Constraints.Match(
|
||||
a.Platform,
|
||||
|
Reference in New Issue
Block a user