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:
a6a7933
)
Add time interval between each git tagging
23/135823/1
author
hyokeun
<hyokeun.jeon@samsung.com>
Tue, 27 Jun 2017 01:42:23 +0000
(10:42 +0900)
committer
hyokeun
<hyokeun.jeon@samsung.com>
Tue, 27 Jun 2017 01:42:23 +0000
(10:42 +0900)
Change-Id: Icb01ee6dad742ba4d7433b7885b6b94390f8e518
job_request.py
patch
|
blob
|
history
diff --git
a/job_request.py
b/job_request.py
index
1849a75
..
e663051
100755
(executable)
--- a/
job_request.py
+++ b/
job_request.py
@@
-35,6
+35,7
@@
import sys
import os
import datetime
import base64
+from time import sleep
from xml.sax.saxutils import unescape
# set default char-set endcoding to utf-8
@@
-240,6
+241,7
@@
def request_accepted(data, gerrit, gitprj):
accepted_tag = os.path.join('accepted', obs_target, timestamp)
gitprj.create_tag(accepted_tag, message, data['commitid'])
+ sleep(1)
remote = 'ssh://%s@%s:%s/%s' % (gerrit.username, gerrit.host, gerrit.port,
data['GIT_PROJECT'])