Skip to content

Commit 36934c6

Browse files
committed
nightly: Upload tarball, then run coverity
Coverity builds are not fast. There's no reason to sit on uploading the nightly tarball while we wait for the Coverity build to finish. Signed-off-by: Brian Barrett <bbarrett@amazon.com>
1 parent 74f076f commit 36934c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nightly-tarball/Builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2017-2019 Amazon.com, Inc. or its affiliates. All Rights
2+
# Copyright (c) 2017-2022 Amazon.com, Inc. or its affiliates. All Rights
33
# Reserved.
44
# Copyright (c) 2081 Cisco Systems, Inc. All rights reserved.
55
#
@@ -270,6 +270,7 @@ def run_single_build(self, branch_name):
270270
self.update_version_file()
271271
self.build()
272272
self.find_build_artifacts()
273+
self.publish_build_artifacts()
273274
if ('coverity' in self._config['branches'][branch_name]
274275
and self._config['branches'][branch_name]['coverity']
275276
and len(self._current_build['artifacts']) > 0):
@@ -284,7 +285,6 @@ def run_single_build(self, branch_name):
284285
% (str(e)))
285286
else:
286287
self._logger.info("Successfully submitted Coverity build")
287-
self.publish_build_artifacts()
288288
self._logger.info("%s build of revision %s completed successfully" %
289289
(branch_name, self._current_build['revision']))
290290
except Exception as e:

0 commit comments

Comments
 (0)