Skip to content

Commit

Permalink
Merge pull request #187 from ismet55555/print-fix-and-bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ismet55555 committed Jan 24, 2023
2 parents 1b39b31 + 049bbc7 commit 00a0d8e
Show file tree
Hide file tree
Showing 9 changed files with 1,025 additions and 491 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.0.81
current_version = 0.0.82
commit = True
tag = True
allow_dirty = False
Expand Down
1,061 changes: 775 additions & 286 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.81
0.0.82
2 changes: 1 addition & 1 deletion docs/source/cli_outline.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Below is a complete outline of the `yojenkins` CLI command structure.

!!! note
As of Version: **0.0.81**
As of Version: **0.0.82**

```text
yojenkins
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import setuptools

# Package version number (Updated via bump2version tool)
__version__ = "0.0.81"
__version__ = "0.0.82"

def check_py_version():
"""Check the python version"""
Expand Down
2 changes: 1 addition & 1 deletion yojenkins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

__title__ = 'yojenkins'
__summary__ = "A CLI tool to interface with Jenkins server"
__version__ = "0.0.81"
__version__ = "0.0.82"
__author__ = "Ismet Handzic"
__copyright__ = "Copyright 2022 %s" % __author__
1 change: 0 additions & 1 deletion yojenkins/cli/cli_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,5 @@ def diff(profile: str, token: str, build_url_1: str, build_url_2: str, logs: boo
diff_only: Only show the lines that have changed
diff_guide: Show diff guide, showing where exactly difference is in line
"""
print(line_pattern)
yj_obj = cu.config_yo_jenkins(profile, token)
yj_obj.build.diff(build_url_1, build_url_2, logs, line_pattern, char_ignore, no_color, diff_only, diff_guide)
12 changes: 6 additions & 6 deletions yojenkins/cli_sub_commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,12 @@ def diff(debug, **kwargs):
EXAMPLES:
\b
- yojenkins build diff "myFolder/myJob/4" "myFolder/myJob/5"
- yojenkins build diff "myJob/4/console" "myJob/5" --logs --diff-guide
- yojenkins build diff "myJob/5/" "yourJob/8" --diff-only
- yojenkins build diff "myJob/2/" "youJob/4/" --logs --char-ignore 40
- yojenkins build diff "myJob/2/" "youJob/4/" --logs --line-patten "(?<= - ).+"
- yojenkins build diff "myJob/2/" "youJob/4/" --logs --line-patten "FAIL" --line-patten "SUCCESS"
- yojenkins build diff "http://jenkins.com/myFolder/myJob/4" "http://jenkins.com/myFolder/myJob/5"
- yojenkins build diff "<SERVER>/myJob/4/console" "<SERVER>/myJob/5" --logs --diff-guide
- yojenkins build diff "<SERVER>/myJob/5/" "<SERVER>/yourJob/8" --diff-only
- yojenkins build diff "<SERVER>/myJob/2/" "<SERVER>/youJob/4/" --logs --char-ignore 40
- yojenkins build diff "<SERVER>/myJob/2/" "<SERVER>/youJob/4/" --logs --line-patten "(?<= - ).+"
- yojenkins build diff "<SERVER>/myJob/2/" "<SERVER>/youJob/4/" --logs --line-patten "FAIL" --line-patten "SUCCESS"
"""
set_debug_log_level(debug)
Expand Down

0 comments on commit 00a0d8e

Please sign in to comment.