-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-33358] Test against 2.73.x since that includes Groovy 2.4.11 #41
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
buildPlugin(jenkinsVersions: [null, '2.32.3', '2.47']) | ||
buildPlugin(jenkinsVersions: [null, '2.60.3', '2.73.1']) | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
<parent> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>plugin</artifactId> | ||
<version>2.31</version> | ||
<version>2.33</version> | ||
<relativePath /> | ||
</parent> | ||
<groupId>org.jenkins-ci.plugins.workflow</groupId> | ||
|
@@ -62,8 +62,8 @@ | |
</pluginRepository> | ||
</pluginRepositories> | ||
<properties> | ||
<jenkins.version>1.642.3</jenkins.version> | ||
<workflow-cps-plugin.version>2.30</workflow-cps-plugin.version> | ||
<jenkins.version>2.7.3</jenkins.version> | ||
<workflow-cps-plugin.version>2.39</workflow-cps-plugin.version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. last security advisory |
||
<git-plugin.version>3.1.0</git-plugin.version> | ||
<scm-api-plugin.version>2.1.1</scm-api-plugin.version> | ||
<workflow-scm-step-plugin.version>2.4</workflow-scm-step-plugin.version> | ||
|
@@ -108,7 +108,7 @@ | |
<dependency> | ||
<groupId>org.jenkins-ci.plugins</groupId> | ||
<artifactId>script-security</artifactId> | ||
<version>1.27</version> | ||
<version>1.33</version> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto, plus some follow-up fixes likely to affect testing of Groovy-heavy code like this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could theoretically go straight to 1.34, but 1.33 is good enough, yeah. |
||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.ivy</groupId> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,7 +93,6 @@ public class GrapeTest { | |
|
||
// TODO test transitive dependencies; need to find something in Central which has a dependency not in this plugin’s test classpath and which could be used easily from a script | ||
|
||
@Ignore("TODO ClassNodeResolver.tryAsLoaderClassOrScript swallows the CompilationFailedException and throws a generic GroovyBugError; fixed in Jenkins 2 / Groovy 2") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can finally have automated tests cover Jenkins 2 behaviors. |
||
@Test public void nonexistentLibrary() throws Exception { | ||
story.addStep(new Statement() { | ||
@Override public void evaluate() throws Throwable { | ||
|
@@ -108,7 +107,6 @@ public class GrapeTest { | |
}); | ||
} | ||
|
||
@Ignore("TODO ditto") | ||
@Test public void nonexistentImport() throws Exception { | ||
story.addStep(new Statement() { | ||
@Override public void evaluate() throws Throwable { | ||
|
@@ -144,7 +142,7 @@ public class GrapeTest { | |
}); | ||
} | ||
|
||
@Ignore("TODO works in Jenkins 2 / Groovy 2; in 1, fails with (concealed): unable to resolve class org.jenkinsci.plugins.docker.workflow.Docker") | ||
@Ignore("TODO fails on CI and inside a Docker container, though for different reasons: `download failed` vs. `/var/maven/.groovy/grapes/resolved-caller-all-caller-working61.xml (No such file or directory)`; and a test-scoped dep on docker-workflow:1.7 does not help") | ||
@Test public void useSource() throws Exception { | ||
story.addStep(new Statement() { | ||
@Override public void evaluate() throws Throwable { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2.7.x–2.47 uses one version of Groovy, 2.48–2.60.x another, 2.61+ yet another. At least we are dropping 1.x!