pycontribs / jenkinsapi

A Python API for accessing resources and configuring Hudson & Jenkins continuous-integration servers
http://pypi.python.org/pypi/jenkinsapi
MIT License
859 stars 485 forks source link

add ability to keep build forever #672

Closed lechat closed 6 years ago

lechat commented 6 years ago

two new methods in Build object:

toggle_keep() and is_kept_forever()

One new method in Job object: toggle_keep_build()

codecov[bot] commented 6 years ago

Codecov Report

Merging #672 into master will increase coverage by 0.06%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #672      +/-   ##
==========================================
+ Coverage    78.6%   78.67%   +0.06%     
==========================================
  Files          34       34              
  Lines        2580     2588       +8     
==========================================
+ Hits         2028     2036       +8     
  Misses        552      552