-
Notifications
You must be signed in to change notification settings - Fork 612
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
Get comment file from workspace, fixes #343 #512
Conversation
Using the workspace will find the comment file even when the build was executed on a slave node.
What's the status of this Pull Request? I'm running into this issue, and my current setup uses 0 executors on the master, so I can't pin this job to the master. |
Can one of the admins verify this patch? |
@benpatterson (sorry to @ you directly, I see you're generally the most active). What needs to be done to have this looked at? Sorry to be pushy, I just fought with this behavior for a good few hours before I realized what was going on. |
Hi @benpatterson, do you know when you'll have time to verify and merge this patch? I tested this patch locally and it seems to work. The merge conflicts are minor and the style guide issues are also minor. I'm not sure if you are the correct person to tag, but it looks like you have done all the releases recently. Thanks! |
Hi @roguishmountain -- Sorry for the quiet on my end. I am no longer the maintainer; however the new maintainers have been somewhat engaged. I CC @bjoernhaeuser and @samrocketman here in case they can give you a better idea/feedback. Also CC @jrudolph |
I merged it with the Github interface. |
Question: I'm not familiar with this feature of GHPRB. Can you describe more about it? In general, I personally avoid workspaces in lieu of API calls directly to GitHub when possible. Note: my question doesn't block review or merging. Just a curiosity. I'll review this after work hours. |
Also, looks like the Jenkins build returned checkstyle errors. @bjoernhaeuser added checkstyle to improve maintenance going forward. Please update so the checkstyle passes. |
@samrocketman This feature allows you to create custom messages to post on the PR that was built. Normally after the commit is built there is a Jenkins wide message that gets posted to the PR such as "commit failed to build" or "commit succeeded". This feature allows you to create a file in the workspace and the content of that file will also get posted to the PR. previously, the plugin would look for this file on the jenkins server. this PR changes this to search in the project workspace for the file. @jrudolph has an example of this here: akka/akka-http#865 (comment) |
@roguishmountain thanks for taking the time to explain. I fully understand now. It makes sense to support loading from workspaces on agents and not force building on master for this feature (building on master being a known bad practice). As soon as this is updated fixing the build issues I'll take the time to review and test upgrade ability. |
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.
In general, it would be nice if a test was included but does not block merging. Update the checkstyle fixes from the failed build and I would say good to merge.
Fixed the checkstyle issues. |
Thanks for merging, @samrocketman! |
has this been published with
|
Looking at the merge commit 3df5a93 it is indeed part of the 1.42.0 release. |
* Get comment file from workspace, fixes jenkinsci#343 Using the workspace will find the comment file even when the build was executed on a slave node. * Fix checkstyle issues
Using the workspace will find the comment file even when the build was executed on a slave node.