Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[JENKINS-28150] Fix optional dependency loading
The extensions here that are using an optional dependency's class must be mark as optional. If not, we can see `ClassNotFoundException` when Jenkins load this plugin.
- Loading branch information
Showing
with
3 additions
and 3 deletions.
- +1 −1 ...ynopsys/arc/jenkinsci/plugins/run_condition_extras/adapters/build_timeout/ConditionalTimeout.java
- +1 −1 ...rc/jenkinsci/plugins/run_condition_extras/adapters/build_timeout/RunConditionTimeoutStrategy.java
- +1 −1 ...nopsys/arc/jenkinsci/plugins/run_condition_extras/adapters/mail_ext/RunConditionEmailTrigger.java
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -76,7 +76,7 @@ public RunCondition getCondition() { | ||
return condition; | ||
} | ||
|
||
@Extension(optional = true) | ||
public static final DescriptorImpl DESCRIPTOR = new DescriptorImpl(); | ||
|
||
@Override | ||