BUILDBOT: Don't upload/link package when it hasn't been produced

This commit is contained in:
Le Philousophe committed 2021-01-10 10:26:45 +01:00
1 parent 9f51f1d282
commit 0042c1c79a
1 file changed
+3 -1
+3 -1
View File
@@ -250,11 +250,11 @@ def get_package_steps(buildname, platformname, srcpath, dstpath, dsturl,
name = "package",
description = "packaging",
descriptionDone = "package",
doStepIf = doPackage,
haltOnFailure = True,
flunkOnFailure = True,
commands = generateCommands,
cleanup = generateCleanup,
doStepIf = doPackage,
**kwargs
)
@@ -263,6 +263,7 @@ def get_package_steps(buildname, platformname, srcpath, dstpath, dsturl,
name = "upload package",
description = "uploading",
descriptionDone = "uploaded",
doStepIf = doPackage,
haltOnFailure = True,
flunkOnFailure = True,
workersrc = getWorkerSrc,
@@ -273,6 +274,7 @@ def get_package_steps(buildname, platformname, srcpath, dstpath, dsturl,
name = "link latest snapshot",
description = "linking",
descriptionDone = "linked",
doStepIf = doPackage,
haltOnFailure = True,
flunkOnFailure = True,
command = getLinkCommand,