projects
/
tools
/
python-jenkinsapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e330456
)
Addressing issue/221 - changing depth=1
author
David Johansen
<djohansen@twitter.com>
Wed, 5 Feb 2014 06:54:45 +0000
(22:54 -0800)
committer
David Johansen
<djohansen@twitter.com>
Wed, 5 Feb 2014 06:54:45 +0000
(22:54 -0800)
- only thing that depth=2 adds is the
"fingerprint":[] item, which turns a
600KB request to a 180M request on a
large repo.
jenkinsapi/build.py
patch
|
blob
|
history
diff --git
a/jenkinsapi/build.py
b/jenkinsapi/build.py
index acf023cb89a43c83f0e9ae2b0d7348b3c13aacf0..7405c28fb065dda0cf65cbf53061a0aea46c99b8 100644
(file)
--- a/
jenkinsapi/build.py
+++ b/
jenkinsapi/build.py
@@
-42,7
+42,7
@@
class Build(JenkinsBase):
def _poll(self):
#For build's we need more information for downstream and upstream builds
#so we override the poll to get at the extra data for build objects
- url = self.python_api_url(self.baseurl) + '?depth=
2
'
+ url = self.python_api_url(self.baseurl) + '?depth=
1
'
return self.get_data(url)
def __str__(self):