Skip to content

Commit 8a8f753

Browse files
authored
Merge pull request #645 from basil/pom
Refresh plugin for December 2022
2 parents 3a76035 + 20b2b0a commit 8a8f753

File tree

3 files changed

+11
-19
lines changed

3 files changed

+11
-19
lines changed

Jenkinsfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
buildPlugin(configurations: [
2-
[ platform: "linux", jdk: "8"],
3-
[ platform: "windows", jdk: "8"],
4-
[ platform: "linux", jdk: "11" ]
1+
buildPlugin(useContainerAgent: true, configurations: [
2+
[platform: 'linux', jdk: 17],
3+
[platform: 'windows', jdk: 11],
54
])

pom.xml

Lines changed: 7 additions & 14 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.47</version>
7+
<version>4.53</version>
88
<relativePath />
99
</parent>
1010
<artifactId>github-branch-source</artifactId>
@@ -24,7 +24,7 @@
2424
<changelist>999999-SNAPSHOT</changelist>
2525
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
2626
<hpi.compatibleSinceVersion>2.2.0</hpi.compatibleSinceVersion>
27-
<jenkins.version>2.346.1</jenkins.version>
27+
<jenkins.version>2.361.4</jenkins.version>
2828
<useBeta>true</useBeta>
2929
</properties>
3030

@@ -38,12 +38,11 @@
3838
<dependency>
3939
<groupId>org.jenkins-ci.plugins</groupId>
4040
<artifactId>github-api</artifactId>
41-
<version>1.303-400.v35c2d8258028</version>
4241
</dependency>
4342
<dependency>
4443
<groupId>com.coravy.hudson.plugins.github</groupId>
4544
<artifactId>github</artifactId>
46-
<version>1.34.3</version>
45+
<version>1.36.0</version>
4746
</dependency>
4847
<dependency>
4948
<groupId>org.jenkins-ci.plugins</groupId>
@@ -71,7 +70,7 @@
7170
<dependency>
7271
<groupId>com.github.tomakehurst</groupId>
7372
<artifactId>wiremock-jre8-standalone</artifactId>
74-
<version>2.33.2</version>
73+
<version>2.35.0</version>
7574
<scope>test</scope>
7675
</dependency>
7776
<dependency>
@@ -112,7 +111,6 @@
112111
<dependency>
113112
<groupId>io.jenkins.plugins</groupId>
114113
<artifactId>pipeline-groovy-lib</artifactId>
115-
<version>612.v84da_9c54906d</version> <!-- TODO until in BOM -->
116114
<scope>test</scope>
117115
</dependency>
118116
<dependency>
@@ -136,24 +134,19 @@
136134
<dependencies>
137135
<dependency>
138136
<groupId>io.jenkins.tools.bom</groupId>
139-
<artifactId>bom-2.346.x</artifactId>
140-
<version>1595.v8c71c13cc3a_9</version>
137+
<artifactId>bom-2.361.x</artifactId>
138+
<version>1750.v0071fa_4c4a_e3</version>
141139
<scope>import</scope>
142140
<type>pom</type>
143141
</dependency>
144-
<dependency>
145-
<groupId>org.apache.commons</groupId>
146-
<artifactId>commons-lang3</artifactId>
147-
<version>3.12.0</version>
148-
</dependency>
149142
</dependencies>
150143
</dependencyManagement>
151144
<build>
152145
<plugins>
153146
<plugin>
154147
<groupId>com.diffplug.spotless</groupId>
155148
<artifactId>spotless-maven-plugin</artifactId>
156-
<version>2.24.1</version>
149+
<version>2.28.0</version>
157150
<executions>
158151
<execution>
159152
<id>spotless-check</id>

src/main/java/org/jenkinsci/plugins/github_branch_source/PullRequestSCMRevision.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public String getMergeHash() {
108108
}
109109

110110
void validateMergeHash() throws AbortException {
111-
if (this.mergeHash == NOT_MERGEABLE_HASH) {
111+
if (NOT_MERGEABLE_HASH.equals(this.mergeHash)) {
112112
throw new AbortException(
113113
"Pull request "
114114
+ ((PullRequestSCMHead) this.getHead()).getNumber()

0 commit comments

Comments
 (0)