self.buildno = buildno
self.job = job
JenkinsBase.__init__( self, url )
-
+
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
downstream_jobs.append(self.get_jenkins_obj().get_job(job_name))
return downstream_jobs
except (IndexError, KeyError):
- return None
+ return []
def get_downstream_job_names(self):
"""
downstream_names.append(job_usage['name'])
return downstream_names
except (IndexError, KeyError):
- return None
+ return []
def get_downstream_builds(self):
"""
downstream_builds.append(job.get_build(build_id))
return downstream_builds
except (IndexError, KeyError):
- return None
+ return []
def get_matrix_runs(self):
"""
Copyright (c) 2012 Salim Fadhley
+For additional contributors please see the README.rst file
The MIT License (MIT)
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.