Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: diff info and logs for jobs and builds #179

Merged
merged 4 commits into from
Dec 2, 2022
Merged

feat: diff info and logs for jobs and builds #179

merged 4 commits into from
Dec 2, 2022

Conversation

ismet55555
Copy link
Owner

@ismet55555 ismet55555 commented Dec 2, 2022

Change Motivation

(A very brief summary on why you made these changes)

For various reasons such as troubleshooting it is sometimes desirable to compare two builds or two jobs for any changes.


Describe the Changes Made

(A very brief summary on what changes you made)

  • Added ability to do a diff on build info and build logs
    • Compare info: yojenkins build diff myJob/2 yourJob/5
    • Compare logs: yojenkins build diff myJob/2 yourJob/5 --logs
  • Added ability to do a diff on job infoj
    • Compare info: yojenkins job diff myFolder/myJob yourJob

Screenshots

Build Info
image

Build logs
image

Job Info
image


Change Type

(Check any that apply)

  • Bug Fix
  • New Feature
  • Code Refactoring
  • Documentation
  • Formatting
  • Automation
  • Unit Tests
  • Other

How Has This Been Tested?

(Please describe the tests/commands that you ran to verify your changes)

Locally on local Jenkins server, all running on Linux


Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings

@ismet55555 ismet55555 added the enhancement New feature or request label Dec 2, 2022
@ismet55555 ismet55555 self-assigned this Dec 2, 2022
@ismet55555 ismet55555 merged commit f2206a2 into main Dec 2, 2022
@ismet55555 ismet55555 deleted the build-diff branch December 2, 2022 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant