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 new method for running groovy scripts on the Jenkins server #629

Closed fun4jimmy closed 6 years ago

fun4jimmy commented 6 years ago

Add new method Jenkins.run_groovy_script(self, script) for running arbitrary groovy scripts on the Jenkins server. This fixes #601.

codecov[bot] commented 6 years ago

Codecov Report

Merging #629 into master will increase coverage by 0.02%. The diff coverage is 87.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #629      +/-   ##
==========================================
+ Coverage   78.58%   78.61%   +0.02%     
==========================================
  Files          34       34              
  Lines        2540     2548       +8     
==========================================
+ Hits         1996     2003       +7     
- Misses        544      545       +1
Impacted Files Coverage Δ
jenkinsapi/jenkins.py 83.33% <87.5%> (+0.15%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1caf4f1...f38ef80. Read the comment docs.