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
JENKINS-59320 - Should log all running jobs when bundle is generated #189
JENKINS-59320 - Should log all running jobs when bundle is generated #189
Conversation
I think the anonymization concerns that were raised in the previous PR still apply. |
yes good point @varyvol URLs should be anomymized @Evildethow if the feature is active |
src/main/java/com/cloudbees/jenkins/support/impl/RunningJobs.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cloudbees/jenkins/support/impl/RunningJobs.java
Outdated
Show resolved
Hide resolved
src/test/java/com/cloudbees/jenkins/support/impl/RunningJobsTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, anonymization as mentioned by others.
src/main/java/com/cloudbees/jenkins/support/impl/RunningJobs.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cloudbees/jenkins/support/impl/RunningJobs.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cloudbees/jenkins/support/impl/RunningJobs.java
Outdated
Show resolved
Hide resolved
src/test/java/com/cloudbees/jenkins/support/impl/RunningJobsTest.java
Outdated
Show resolved
Hide resolved
…4 as per https://github.com/jenkinsci/bom) (also required a findbugs fix in AboutJenkins)
…step as an optional dep)
@jglick @MRamonLeon thanks for the review. I've made the changes to the best of my ability. @aheritier To get this working w/ Pipeline the base version had to move from 2.107 -> 2.138.4, and we also need to pull in workflow-durable-task-step as an optional dep. Thanks, all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me - excepted my question on the null check (but I'm confident that you had a good reason for the case)
src/main/java/com/cloudbees/jenkins/support/impl/RunningJobs.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cloudbees/jenkins/support/impl/RunningJobs.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cloudbees/jenkins/support/impl/RunningJobs.java
Outdated
Show resolved
Hide resolved
src/test/java/com/cloudbees/jenkins/support/impl/RunningJobsTest.java
Outdated
Show resolved
Hide resolved
src/test/java/com/cloudbees/jenkins/support/impl/RunningJobsTest.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cloudbees/jenkins/support/impl/RunningJobs.java
Outdated
Show resolved
Hide resolved
Thanks for the review, @jglick |
…flow-durable-task-step)
Requested changes made. @aheritier I think this one is good to go. |
src/main/java/com/cloudbees/jenkins/support/impl/RunningBuilds.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Plugin dependencies could be also cleaned up after moving to BOM
src/test/java/com/cloudbees/jenkins/support/SupportTestUtils.java
Outdated
Show resolved
Hide resolved
src/test/java/com/cloudbees/jenkins/support/SupportTestUtils.java
Outdated
Show resolved
Hide resolved
src/main/java/com/cloudbees/jenkins/support/impl/RunningBuilds.java
Outdated
Show resolved
Hide resolved
Understood, but I'd rather address that separately. I'm considering it out-of-scope for now. |
yes let's cleanup the deps in another PR @Evildethow |
As there seem to be no further requests for changes I'm going to merge this. Thanks, all. |
I've created https://issues.jenkins-ci.org/browse/JENKINS-59453 to address migrating to the BOM |
https://issues.jenkins-ci.org/browse/JENKINS-59320
Replaces #188