mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-20 14:19:00 +00:00
added exit code to builds
This commit is contained in:
parent
78483f8b13
commit
deba709d87
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue