-
Notifications
You must be signed in to change notification settings - Fork 12
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
Move configuration to appearance page #109
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #109 +/- ##
============================================
+ Coverage 75.13% 75.59% +0.46%
- Complexity 87 91 +4
============================================
Files 12 13 +1
Lines 366 377 +11
Branches 30 30
============================================
+ Hits 275 285 +10
- Misses 88 89 +1
Partials 3 3 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it make more sense to move only the theme to the appearance section? The other option is more a security setting, letting administrators define allowed source code directories?
Yes that would be better (and is also what is in the guidance here https://javadoc.jenkins.io/jenkins/appearance/AppearanceCategory.html) |
This is ridiculous @uhafner
|
Don't blame me for this concept. Maven does only support success or failure. All Java analysis tools and javac do not fail the build with purpose on warnings. When everything is a failure then Jenkins does not finish processing, this is also a problem. Seems that you are using a totally different development workflow. I use maven command line very rarely. I run static analysis and tests within the IDE before each commit. I use maven only to deploy and release my plugins. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Moving the source directories below the security category makes sense as well.
pom.xml
Outdated
<changelist>-SNAPSHOT</changelist> | ||
<jenkins.version>2.421</jenkins.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is ok for you I will not merge until 2.426.1 is ready.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
pom.xml
Outdated
|
||
<module.name>${project.groupId}.prism</module.name> | ||
|
||
<testcontainers.version>1.19.0</testcontainers.version> | ||
<jsoup.version>1.16.1</jsoup.version> | ||
|
||
<hpi.compatibleSinceVersion>1.30.0-1</hpi.compatibleSinceVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work with a number of 1.29.0-9
as well? I want to keep the first part of the version number in sync with the version number of Prism.js.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes it will be fine
* @author Ullrich Hafner | ||
*/ | ||
@Extension | ||
@Symbol("prism") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it ok to use the same ID twice? In steps this should be avoided buy maybe here it is ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's ok as it's in a different category.
Normally it's extension points that shouldn't have the same one but as far as I know as long as it's in a different category it should be fine.
possible to relook at this @uhafner? |
Yes, I'll merge it after the weekend... |
Requires:
jenkinsci/jenkins#8403
This is a breaking change for JCasC configuration, it moves from
unclassified
toappearance
, given this change had to happen anyway I took the liberty of using a more correct symbol ofprism
, as symbols are not supposed to include their extension point configuration was unneeded.The new config is:
Testing done
Submitter checklist