[JIRA] (JENKINS-56057) UpdateSiteWarningsConfiguration should be confirgurable via JCasC

2 views
Skip to first unread message

uwe.hanisch@gmx.de (JIRA)

unread,
Feb 8, 2019, 11:38:01 AM2/8/19
to jenkinsc...@googlegroups.com
Uwe Hanisch created an issue
 
Jenkins / Improvement JENKINS-56057
UpdateSiteWarningsConfiguration should be confirgurable via JCasC
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 2019-02-08 16:37
Labels: jcasc-compatibility configuration-as-code
Priority: Minor Minor
Reporter: Uwe Hanisch

By using JCasC I have the plugins versions under my control.

So I don't want to disable the security warnings manually every time I create/configure a new Jenkins instance via JCasC.
It should be possible to configure it via JCasC.

The JCasC configuration could be look like this:

security:
  updateSiteWarningsConfiguration:
    ignoredWarnings:
      - 'SECURITY-248'

First try to patch UpdateSiteWarningsConfiguration (using @DataBoundSetter see [JCasC Requirements - guide for plugin maintainers](https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/docs/REQUIREMENTS.md) ) has failed.
So any hint would be welcome.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

dbeck@cloudbees.com (JIRA)

unread,
Feb 10, 2019, 2:46:01 PM2/10/19
to jenkinsc...@googlegroups.com
Daniel Beck commented on Improvement JENKINS-56057
 
Re: UpdateSiteWarningsConfiguration should be confirgurable via JCasC

Realistically it's probably time to disable the SECURITY-248 warning for newer versions anyway. IIRC it was intended as a temporary measure to ensure users who had previously updated saw it due to the large time delay, but it's been a year now.

uwe.hanisch@gmx.de (JIRA)

unread,
Feb 12, 2019, 8:26:03 AM2/12/19
to jenkinsc...@googlegroups.com

Nevertheless:
All what I can configure via GUI should also be possible via JCasC.
(if there is an XML config file beneath ~jenkins/ it should be possible to set it via JCasC)

simon@wydooghe.com (JIRA)

unread,
Sep 3, 2019, 8:17:02 AM9/3/19
to jenkinsc...@googlegroups.com

It would be great to be able to suppress certain warnings via JSasC.

soundcracker@gmail.com (JIRA)

unread,
Sep 3, 2019, 8:21:03 AM9/3/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages