mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 14:39:03 +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 {
|
if b.Deploy != nil {
|
||||||
b.Deploy.Write(f)
|
b.Deploy.Write(f)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// write exit value
|
||||||
|
f.WriteCmd("exit 0")
|
||||||
}
|
}
|
||||||
|
|
||||||
// WriteBuild adds only the build steps to the build script,
|
// WriteBuild adds only the build steps to the build script,
|
||||||
|
Reference in New Issue
Block a user