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
Virtual Pipeline Plugin #3310
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.17.14) |
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 11 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. VirtualPipelineInputAdvanced.java#101
VirtualPipelineInputAdvanced.java#84
VirtualPipelineInputAdvanced.java#72
VirtualPipelineInputAdvanced.java#60
VirtualPipelineInputSimple.java#46
Stapler: Missing permission checkYou can find detailed information about this finding here. VirtualPipelineInputAdvanced.java#101
VirtualPipelineInputAdvanced.java#84
VirtualPipelineInputAdvanced.java#72
VirtualPipelineInputAdvanced.java#60
VirtualPipelineInputSimple.java#46
VirtualPipelineOffsetAction.java#31
|
/hosting re-check |
Hello from your friendly Jenkins Hosting Checker It looks like you have everything in order for your hosting request. A human volunteer will check over things that I am not able to check for (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 |
Based on this explanation, I recommend choosing a more fitting name for the plugin. I can imagine |
/request-security-scan |
The Jenkins Security Scan did not find anything dangerous with your plugin, congratulations! 🎉 💡 The Security team recommends that you are setting up the scan in your repository by following our guide. |
Hi @alecharp, Would appreciate deeper explanation of what is expected. Thanks in advance. |
is yet to address. |
I believe that "highlight" might be a better description, but "filter" might seem a little off as there is already existing plugin called Log File Filter wit a different functionality. Initially, the name "virtual pipeline" comes from the results of the "highlighting" of logs. The results should somewhat mimic the "breaking down build into smaller stages/steps" philosophy of a Pipeline for Freestyle project, thus being "Virtual pipeline", as in fact it has nothing to do with Pipeline apart from somewhat mimicking the behaviour. I am not sure what is the ideal name, something involving "highlighter" might be the closest thing. I'll try to come up with something, appreciate the feedback. (I added a reference to my thesis to README, which can make the purpose of this plugin and its name clearer) |
Will shot my irrelevant brainstorming. (build)log-shortener(-plugin) And recalling NotMyFualt's, as they are quite good: Where I like all where pip-like kewyords appear. One nit (just crossing mind). The implementations slightly lacks some Arrows, so the final extracted log would look indeed lilke pipe. Easy to add, but most likely wasting of space. Maybe optional? maybe just centred |
I think pipeline-log-filter makes a good fit :) |
Is it correct that this plugin is intended for use in freestyle jobs only? When searching for Also the DisplayName of the Publisher ( My suggestion would be |
The approach to read the log file in a publisher has 2 severe disadvantages.
I suggest to implement this as a BuildWrapper in combination with a ConsoleLogFilter (See the timestamper plugin) how this is done. |
Do you see any reason why it should fail if used in pipeline job? ...
(build)log(line)-flow-visualiser? |
The only thing the plugin have to do, is to not fail if the parsing fails - eg if buildlog is missing. Then all other publishers will normally run, right?
Using it as build wrapper will limit the plugin quite a lot. Righ now you can use it with any buildwrapper, by implementing it as build wrapper, it will make it not usable with any other build wrapers, and generally make any its usage very inconvenient.
|
That would also be fine for me |
Yes.
That is not true, you can have as many build wrapper as you want. There is no limitation to the plugin I would say.
|
by using a ConsoleLogFilter you can even make the plugin work with pipeline jobs. |
Hmm. That s part of BuildWrapper... But probably worthy to investigate. |
The plugin's functionality would make a good PR to https://plugins.jenkins.io/text-finder/, which supports pipelines already, alongside freestyle jobs. |
Seems it can already work with pipeline, still the ConsoleLogFilter approach might have advantages, e.g. it would allow to configure it globally. |
Not necessarily. Text finder plugin does its job really well, and should remain in doing that. Long story short, the border between one plugin one thing and correctly, and to much shared code, lmerge functionality is thin. In this plugin, I would definitely vote for having it standalone. |
Interestign idea. TY! |
That was 4 years ago. I'd recommend trying it again and reaching out to the maintainers of the plugin, if it's not up for adoption. I don't believe hosting another plugin doing something similar because the initial PR didn't address the concerns of the plugin maintainers is the right direction to go to. |
All concerns were cleared, but the final ack was never given. And maintainers are still the same. it seems that multiple textfinders were added at the end. 🥇 I will rise the discussion about display name again. TY! |
Just to check, I'll do the following things:
Summed up from the conversation, let me know if I missed something or there is something else to be done for the plugin. |
Sounds correct to me. TY! |
Repository URL
https://github.com/thavlice/jenkins-report-virtual-pipeline
New Repository Name
virtual-pipeline-plugin
Description
Virtual Pipeline Jenkins plugin allows the user to define marks (using regular expressions) that can be found in the main log and them visualize then on the Project and Job Page.
This plugin helps to automate manual searching for key information in the main log of Jenkins builds.
GitHub users to have commit permission
@thavlice
@judovana
Jenkins project users to have release permission
thavlice
judovana
Issue tracker
Jira
The text was updated successfully, but these errors were encountered: