jenkins-cli icon indicating copy to clipboard operation
jenkins-cli copied to clipboard

Add new feature which prints information about new plugins which can be upgraded to

Open jxr98 opened this issue 3 years ago • 6 comments

Make sure that you've checked the boxes below before you submit PR:

Always

  • [x] Make sure you are requesting to pull a topic/feature/bugfix branch (right side) and not your master branch!
  • [x] Written well with PR title, we generate the release notes base on that

For the bug fixes or features only

  • [ ] Quality Gate Passed. Change this URL to your PR.
  • [ ] The coverage is xxx on the new lines
  • [ ] I've tested it by manual in the following platform
    • [ ] MacOS
    • [x] Linux
    • [x] Windows
  • [ ] Unit Test covered
  • [ ] e2e Test covered

jxr98 avatar Aug 13 '21 15:08 jxr98

All right. I am gonna fix this.

jxr98 avatar Aug 15 '21 07:08 jxr98

Codecov Report

Merging #611 (1ba6052) into master (a99158f) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #611   +/-   ##
=======================================
  Coverage   37.98%   37.98%           
=======================================
  Files          13       13           
  Lines         416      416           
=======================================
  Hits          158      158           
  Misses        246      246           
  Partials       12       12           
Flag Coverage Δ
unittests 37.98% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


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 a99158f...1ba6052. Read the comment docs.

codecov-commenter avatar Aug 22 '21 12:08 codecov-commenter

hi @jxr98 Please pay attention to the conflicts.

LinuxSuRen avatar Aug 30 '21 07:08 LinuxSuRen

Hi @LinuxSuRen, I've solved the conflicts. By the way, any problem with this pr?

jxr98 avatar Sep 22 '21 06:09 jxr98

To use this new feature, a plugin called 'pipeline restful api' needs to be installed in jenkins. I've tested using the command './jcli plugin center'. It's a bit slow because the function is going to check every installed plugins in 'https://plugins.jenkins.io/api/plugin/'. The function only prints information about plugins which have newer versions then the installed.

jxr98 avatar Oct 08 '21 12:10 jxr98

Hello Rick. This pr is the second needed to be reviewed.

jxr98 avatar Oct 11 '21 12:10 jxr98