Skip to content
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

Add a global configuration page for Prism #2

Merged
merged 39 commits into from
Jan 16, 2022
Merged

Conversation

uhafner
Copy link
Member

@uhafner uhafner commented Dec 16, 2021

These configuration options are used globally for all jobs and require administrator permissions.

The following settings can be configured:

  • Allowed source code directories: some plugins copy source code files to Jenkins' build folder so that these files can be rendered in the user interface together with build results (coverage, warnings, etc.). If these files are not part of the workspace of a build then Jenkins will not show them by default: otherwise sensitive files could be shown by accident. You can provide a list of additional source code directories that are allowed to be shown in Jenkins user interface here. Note, that such a directory must be an absolute path on the agent that executes the build.
  • Theme: Prism supports several themes that can be used to adapt the look and feel. You can configure the
    default theme that is used for all Jenkins jobs.

Besides the global configuration, also classes and forms are available to provide a configuration of these values in a job.

@uhafner uhafner marked this pull request as ready for review December 16, 2021 20:44
@uhafner uhafner added the enhancement Enhancement of existing functionality label Jan 14, 2022
@uhafner uhafner merged commit 1902fad into main Jan 16, 2022
@uhafner uhafner deleted the prism-global-config branch January 16, 2022 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant