mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 23:28:17 +00:00
added exit code to builds
This commit is contained in:
@@ -83,6 +83,9 @@ func (b *Build) Write(f *buildfile.Buildfile) {
|
||||
if b.Deploy != nil {
|
||||
b.Deploy.Write(f)
|
||||
}
|
||||
|
||||
// write exit value
|
||||
f.WriteCmd("exit 0")
|
||||
}
|
||||
|
||||
// WriteBuild adds only the build steps to the build script,
|
||||
|
Reference in New Issue
Block a user