File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 169
169
<groupId >io.jenkins.configuration-as-code</groupId >
170
170
<artifactId >test-harness</artifactId >
171
171
<scope >test</scope >
172
+ <exclusions >
173
+ <exclusion >
174
+ <groupId >org.jetbrains</groupId >
175
+ <artifactId >annotations</artifactId >
176
+ </exclusion >
177
+ </exclusions >
172
178
</dependency >
173
179
<dependency >
174
180
<groupId >org.awaitility</groupId >
Original file line number Diff line number Diff line change 94
94
import org .jenkinsci .plugins .workflow .job .WorkflowRun ;
95
95
import org .jenkinsci .plugins .workflow .steps .durable_task .DurableTaskStep ;
96
96
import org .jenkinsci .plugins .workflow .test .steps .SemaphoreStep ;
97
- import org .jetbrains .annotations .NotNull ;
98
97
import org .junit .After ;
99
98
import org .junit .Assert ;
100
99
import org .junit .Before ;
@@ -941,9 +940,9 @@ public void decoratorFailure() throws Exception {
941
940
942
941
@ TestExtension ("decoratorFailure" )
943
942
public static class DecoratorImpl implements PodDecorator {
944
- @ NotNull
943
+ @ NonNull
945
944
@ Override
946
- public Pod decorate (@ NotNull KubernetesCloud kubernetesCloud , @ NotNull Pod pod ) {
945
+ public Pod decorate (@ NonNull KubernetesCloud kubernetesCloud , @ NonNull Pod pod ) {
947
946
throw new PodDecoratorException ("I always fail" );
948
947
}
949
948
}
You can’t perform that action at this time.
0 commit comments