mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-05 05:04:47 +02:00
steps/runconfig: Attempt a different way to terminate the build
It seems the previous approach was confusing buildbot about the task status so try and be more specific and use better APIs to avoid this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c8db821860
commit
863ed82b2a
|
@ -210,8 +210,8 @@ class TargetPresent(shell.ShellCommand):
|
|||
# If the command fails, fall back to old style run-config execution
|
||||
rc = super().evaluateCommand(cmd)
|
||||
if rc != SUCCESS:
|
||||
self.finished(SKIPPED)
|
||||
self.build.results = SKIPPED
|
||||
self.descriptionDone = "Target not present in branch configuration"
|
||||
self.build.buildFinished(["Target not present in branch configuration"], SKIPPED)
|
||||
# Run no further steps, terminate the build
|
||||
self.build.terminate = True
|
||||
return SKIPPED
|
||||
return SUCCESS
|
||||
|
|
Loading…
Reference in New Issue
Block a user