Skip to content

Commit

Permalink
Merge pull request #11 from jglick/casc
Browse files Browse the repository at this point in the history
Add a symbol to our `GlobalConfiguration` for better JCasC
  • Loading branch information
jglick committed Oct 22, 2021
2 parents f3745fd + 8156c00 commit 8980d80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,10 @@
</pluginRepositories>

<dependencies>
<!-- regular dependencies -->
<dependency>
<groupId>net.jcip</groupId>
<artifactId>jcip-annotations</artifactId>
<version>1.0</version>
<groupId>org.jenkins-ci</groupId>
<artifactId>symbol-annotation</artifactId>
</dependency>
<!-- plugin dependencies -->
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>junit</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/jenkins/plugin/mockloadbuilder/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
import org.kohsuke.stapler.StaplerRequest;

import javax.annotation.Nonnull;
import org.jenkinsci.Symbol;

@Symbol("mockLoad")
@Extension
public class Config extends GlobalConfiguration {
private int freestyleFrequency = 45;
Expand Down

0 comments on commit 8980d80

Please sign in to comment.