-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
I would like to have a plugin hosted to have project acting as remote Maven Build cache server #3566
Comments
Security audit, information and commands The security team is auditing all the hosting requests, to ensure a better security by default. This message informs you that a Jenkins Security Scan was triggered on your repository. CommandsThe bot will parse all comments, and it will check if any line start with a command. Security team only:
Anyone:
Only one command can be requested per comment. (automatically generated message, version: 1.26.13) |
Hello from your friendly Jenkins Hosting Checker It appears you have some issues with your hosting request. Please see the list below and correct all issues marked Required. Your hosting request will not be approved until these issues are corrected. Issues marked with Warning or Info are just recommendations and will not stall the hosting process.
You can re-trigger a check by editing your hosting request or by commenting |
Hello from your friendly Jenkins Hosting Checker It appears you have some issues with your hosting request. Please see the list below and correct all issues marked Required. Your hosting request will not be approved until these issues are corrected. Issues marked with Warning or Info are just recommendations and will not stall the hosting process.
You can re-trigger a check by editing your hosting request or by commenting |
The Jenkins Security Scan discovered 2 finding(s) 🔍. Once you're done, either re-run the scan with Stapler: Missing POST/RequirePOST annotationYou can find detailed information about this finding here. MavenCachePluginAction.java#97
Stapler: Missing permission checkYou can find detailed information about this finding here. MavenCachePluginAction.java#97
|
Hello from your friendly Jenkins Hosting Checker It appears you have some issues with your hosting request. Please see the list below and correct all issues marked Required. Your hosting request will not be approved until these issues are corrected. Issues marked with Warning or Info are just recommendations and will not stall the hosting process.
You can re-trigger a check by editing your hosting request or by commenting |
/hosting re-check |
Hello from your friendly Jenkins Hosting Checker It appears you have some issues with your hosting request. Please see the list below and correct all issues marked Required. Your hosting request will not be approved until these issues are corrected. Issues marked with Warning or Info are just recommendations and will not stall the hosting process.
You can re-trigger a check by editing your hosting request or by commenting |
/hosting re-check |
Hello from your friendly Jenkins Hosting Checker It looks like you have everything in order for your hosting request. A member of the Jenkins hosting team will check over things that I am not able to check(code review, README content, etc) and process the request as quickly as possible. Thank you for your patience. Hosting team members can host this request with |
A bit of feedback:
|
yup sorry todo and icon fixed. but regarding prism-api this will mean to add plenty of dependencies just use some javascript/css. sounds like a bit over complicated (same as NPM which will complicated the build_) |
Loading them via stapler adjunct should be fine as a temporary solution. |
ATM I'm happy with the current code. |
Inline script tags are banned per CSP, and there is an ongoing effort to address CSP violations in Jenkins core and plugins. |
Frankly I don't understand the point to add dependencies on commons-lang commons-text etc... just to use CSS and js files, |
Not sure what you mean by that 🤔 |
prism needs to add dependencies on plenty of plugins I don't need here. That's too complicated. frankly I just want to have this plugin being used by people to help them and it works. |
No worries, #3566 (comment) works without that too The design-library contains a few working examples, like loading a js file correctly and CSP compliant. |
interesting to see in the link you provide the line just above is using So I'm a bit confused about your comment. Ok it's maybe nice to have and can be improved in the future but I do not see anything blocker btw github search give a lot of results using |
moved to use prism api. Anyway it looks it's way better now than so many plugins already there :) |
/request-security-scan |
The Jenkins Security Scan discovered 2 finding(s) 🔍. Once you're done, either re-run the scan with Stapler: Missing POST/RequirePOST annotationYou can find detailed information about this finding here. MavenCachePluginAction.java#98
Stapler: Missing permission checkYou can find detailed information about this finding here. MavenCachePluginAction.java#98
|
I ignored security scan because they are false positive.... code is
so the finding |
Best to suppress them then: https://github.com/jenkins-infra/jenkins-codeql/blob/main/src/WebMethodMissingPermissionCheck.md#next-steps |
ok I give up. too much nit picking for a spare time plugin. |
franky adding useless annotations in a code which is safe is a bit ridiculous. |
[From the bot] In this case, the two findings from the bot do not seem to be impacting, so the false positive reply from Olivier was enough. The goal is to force maintainers to have a closer look with additional information. The action to have a clean report from the bot is not required :) |
I have reopened it as I feel this is ready. |
@NotMyFault @alecharp When time permits, feel free to move this request forward :) |
It looks good enough to me. Contribution section of the readme to change but that is not blocking the hosting for me. |
I take #3566 (comment) as a yes. /audit-ok |
/hosting host |
Hosting request complete, the code has been forked into the jenkinsci project on GitHub as https://github.com/jenkinsci/maven-cache-plugin GitHub issues has been selected for issue tracking and was enabled for the forked repo. A pull request has been created against the repository permissions updater to setup release permissions. Additional users can be added by modifying the created file. Please delete your original repository (if there are no other forks), under 'Danger Zone', so that the jenkinsci organization repository is the definitive source for the code. If there are other forks, please contact GitHub support to make the jenkinsci repo the root of the fork network (mention that Jenkins approval was given in support request 569994). Also, please make sure you properly follow the documentation on documenting your plugin so that your plugin is correctly documented. You will also need to do the following in order to push changes and release your plugin:
In order for your plugin to be built by the Jenkins CI Infrastructure and check pull requests, please add a Jenkinsfile to the root of your repository with the following content: Welcome aboard! |
Still identified a bug (or perhaps code smell): you're not supposed to call |
Repository URL
https://github.com/olamy/maven-cache-plugin
New Repository Name
maven-cache-plugin
Description
This plugin will turn any project as a remote server for storage of Apache Maven build cache extension
Just install the plugin and enable the cache at a project level and the job will host a cache server with url $joburl/maven-cache/repository
GitHub users to have commit permission
@olamy
Jenkins project users to have release permission
olamy
Issue tracker
GitHub issues
The text was updated successfully, but these errors were encountered: