Skip to content

Commit 273cfb4

Browse files
authored
Merge pull request #612 from sghill-rewrite/modernize/jenkins-2.440.3
Update to Jenkins LTS 2.440.3
2 parents d6ba430 + 06f79fe commit 273cfb4

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>org.jenkins-ci.plugins</groupId>
66
<artifactId>plugin</artifactId>
7-
<version>4.76</version>
7+
<version>4.86</version>
88
<relativePath />
99
</parent>
1010

@@ -53,16 +53,16 @@
5353
<jira-rest-client.version>5.2.7</jira-rest-client.version>
5454
<fugue.version>4.7.2</fugue.version>
5555
<!-- jenkins -->
56-
<jenkins.version>2.401.3</jenkins.version>
56+
<jenkins.version>2.440.3</jenkins.version>
5757
<spotless.check.skip>false</spotless.check.skip>
5858
</properties>
5959

6060
<dependencyManagement>
6161
<dependencies>
6262
<dependency>
6363
<groupId>io.jenkins.tools.bom</groupId>
64-
<artifactId>bom-2.401.x</artifactId>
65-
<version>2745.vc7b_fe4c876fa_</version>
64+
<artifactId>bom-2.440.x</artifactId>
65+
<version>3234.v5ca_5154341ef</version>
6666
<type>pom</type>
6767
<scope>import</scope>
6868
</dependency>

src/main/java/hudson/plugins/jira/JiraGlobalConfiguration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package hudson.plugins.jira;
22

33
import edu.umd.cs.findbugs.annotations.NonNull;
4+
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
45
import hudson.Extension;
56
import hudson.util.PersistedList;
67
import java.util.List;
@@ -16,6 +17,7 @@ public static JiraGlobalConfiguration get() {
1617
return (JiraGlobalConfiguration) Jenkins.get().getDescriptorOrDie(JiraGlobalConfiguration.class);
1718
}
1819

20+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
1921
public List<JiraSite> sites = new PersistedList<>(this);
2022

2123
public JiraGlobalConfiguration() {

src/main/java/hudson/plugins/jira/JiraSite.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import edu.umd.cs.findbugs.annotations.CheckForNull;
3030
import edu.umd.cs.findbugs.annotations.NonNull;
3131
import edu.umd.cs.findbugs.annotations.Nullable;
32+
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
3233
import hudson.Extension;
3334
import hudson.Util;
3435
import hudson.model.AbstractDescribableImpl;
@@ -125,21 +126,25 @@ public class JiraSite extends AbstractDescribableImpl<JiraSite> {
125126
* URL of Jira for normal access, like {@code http://jira.codehaus.org/}.
126127
* Mandatory. Normalized to end with '/'
127128
*/
129+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
128130
public URL alternativeUrl;
129131

130132
/**
131133
* Jira requires HTTP Authentication for login
132134
*/
135+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
133136
public boolean useHTTPAuth;
134137

135138
/**
136139
* The id of the credentials to use. Optional.
137140
*/
141+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
138142
public String credentialsId;
139143

140144
/**
141145
* Jira requires Bearer Authentication for login
142146
*/
147+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
143148
public boolean useBearerAuth;
144149

145150
/**
@@ -159,30 +164,35 @@ public class JiraSite extends AbstractDescribableImpl<JiraSite> {
159164
/**
160165
* Group visibility to constrain the visibility of the added comment. Optional.
161166
*/
167+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
162168
public String groupVisibility;
163169

164170
/**
165171
* Role visibility to constrain the visibility of the added comment. Optional.
166172
*/
173+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
167174
public String roleVisibility;
168175

169176
/**
170177
* True if this Jira is configured to allow Confluence-style Wiki comment.
171178
*/
179+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
172180
public boolean supportsWikiStyleComment;
173181

174182
/**
175183
* to record scm changes in jira issue
176184
*
177185
* @since 1.21
178186
*/
187+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
179188
public boolean recordScmChanges;
180189

181190
/**
182191
* Disable annotating the changelogs
183192
*
184193
* @since todo
185194
*/
195+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
186196
public boolean disableChangelogAnnotations;
187197

188198
/**
@@ -199,23 +209,27 @@ public class JiraSite extends AbstractDescribableImpl<JiraSite> {
199209
*
200210
* @since 1.22
201211
*/
212+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
202213
public boolean updateJiraIssueForAllStatus;
203214

204215
/**
205216
* connection timeout used when calling jira rest api, in seconds
206217
*/
218+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
207219
public int timeout = DEFAULT_TIMEOUT;
208220

209221
/**
210222
* response timeout for jira rest call
211223
* @since 3.0.3
212224
*/
225+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
213226
private int readTimeout = DEFAULT_READ_TIMEOUT;
214227

215228
/**
216229
* thread pool number
217230
* @since 3.0.3
218231
*/
232+
@SuppressFBWarnings(value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE", justification = "Backwards compatibility")
219233
private int threadExecutorNumber = DEFAULT_THREAD_EXECUTOR_NUMBER;
220234

221235
/**

0 commit comments

Comments
 (0)