explain-error-plugin icon indicating copy to clipboard operation
explain-error-plugin copied to clipboard

Integrate sharable skills solutions like apm

Open mPokornyETM opened this issue 7 months ago • 2 comments

Problem

What problem does this solve?

We us the https://github.com/microsoft/apm to share our skill across the teams. We have a huge sub set of skills, rules ... which can be used by AI to analyze what happens. Currently we are struggling by some on board implantation for Jenkins. This plugin might be close the gap. It will be great to allocate docker image, apm install (to have latest skills) and then start step explainError().

Solution

Describe your proposed solution: Just an idea, let decide the team if it makes sense

Alternatives

What alternative approaches have you considered?

Additional Context

Screenshots, examples, or other relevant information:

Feel free to ping me, when can I help somehow. Thx

mPokornyETM avatar Apr 18 '26 19:04 mPokornyETM

Thanks for the suggestion. The use case is valid.

Reusing shared skills / rules maintained outside Jenkins could be valuable for error analysis. However, embedding that directly into this plugin by starting a Docker image, running apm install, and pulling the latest skills at runtime would likely expand the plugin scope too much. So the proposed implementation boundary is probably not the right one for this plugin.

shenxianpeng avatar Apr 18 '26 19:04 shenxianpeng

Closing as not planned. As said above, installing skills at runtime is more than this plugin should do.

What works today: install your rules in an earlier Pipeline stage and pass the text in with customContext, for example explainError(customContext: readFile('rules.md')).

shenxianpeng avatar Oct 13 '26 21:10 shenxianpeng