projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87da2e7
)
Enable trigger_next to sync
52/136152/2
author
Yonghee Han
<onstudy@samsung.com>
Wed, 28 Jun 2017 08:42:03 +0000
(17:42 +0900)
committer
Yonghee Han
<onstudy@samsung.com>
Wed, 28 Jun 2017 09:04:17 +0000
(09:04 +0000)
Bugfix : Can not sync to mirror server.
Solution : Add trigger_next to sync
Change-Id: If1521666a07ac9ed0a4eba328a737235629d9157
job_release_snapshot.py
patch
|
blob
|
history
diff --git
a/job_release_snapshot.py
b/job_release_snapshot.py
index
c13908f
..
ea6ac4b
100755
(executable)
--- a/
job_release_snapshot.py
+++ b/
job_release_snapshot.py
@@
-111,6
+111,12
@@
def main():
'snapshot_name':release_id,
'release_type':release_type,
'version':version})
+
+ # TRIGGER NEXT RSYNC-DOWNLOAD (MIRROR)
+ if os.getenv("RSYNC_DOWNLOAD_ENABLED", "0") != "0":
+ trigger_next('RSYNC_DOWNLOAD', {'repo_path': path_release_snapshot,
+ 'project': obs_project})
+
if __name__ == '__main__':
sys.exit(main())