-
Notifications
You must be signed in to change notification settings - Fork 725
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
Audit Trail plugin support #868
Comments
@qisylvia in general if you configure the plugin in the UI, then go to /configuration-as-code and click view configuration, if it doesn't show up there then the plugin isn't supported and needs a fix Its documented here: have you raised an issue on jira for them with the |
Please follow the checklist and do what it asks of you. |
If you open |
@tim, @Casz Prior to opening the issue, I did try both things you suggested:
The audit trail plugin did not show up. Perhaps in my readings I missed the fact that if the plugin does not show up, then it is not supported. Thanks for confirming. I opened a Jira with Jenkins to have the plugin updated to support JCasC. |
Your checklist for this issue
🚨 Please review the guidelines for contributing to this repository.
💡 To better understand plugin compatibility issues, you can read more here
Create an issue on issues.jenkins-ci.org, set the component to the plugin you are reporting it against
Before creating an issue on Jenkins JIRA, check for an existing one via dashboard
Link to Jenkins JIRA issue
Ensure Jenkins JIRA issue has the label
jcasc-compatibility
Link to plugin's GitHub repository
Link to Plugin Compatibility Tracker Plugin Compatibility Tracking #809
Description
I am trying to use the configuration-as-code plugin to configure Audit Trail plugin:
https://github.com/jenkinsci/audit-trail-plugin
Jenkins version: 2.175
Configuration-as-code plugin version: 1.13
Audit Trail plugin version: 2.4
My audit-trail.yaml file looks like this:
When I applied the yaml file using the configuration as code plugin, I get the following error:
Invalid configuration elements for type class jenkins.model.GlobalConfigurationCategory$Unclassified : auditTrail.
Available attributes : administrativeMonitorsConfiguration, artifactManager, buildStepOperation, casCGlobalConfig, cloud, defaultView, extendedEmailPublisher, gitHubConfiguration, gitHubPluginConfig, gitSCM, globalDefaultFlowDurabilityLevel, globalLibraries, location, lockableResourcesManager, mailer, masterBuild, myView, nodeProperties, pipeline-model, plugin, pollSCM, projectNamingStrategy, quietPeriod, scmRetryCount, shell, subversionSCM, timestamperConfig, usageStatistics, viewsTabBar
It might be an usage issue. I read a lot of documentation, but it is not clear what the name should be following "unclassified", for the Audit Trail plugin. I have tried a number of names, such as audit-trail, auditTrailPlugin, etc.
Based on my reading, most plugins are supported if they followed a specific design pattern. It would be nice if this is documented, or some documentation to help users decide what names should be used for their plugins. Thanks.
The text was updated successfully, but these errors were encountered: