Skip to content

Commit

Permalink
Update bundled plugins after 2022-05-17 security advisory (#6582)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Beck <[email protected]>
  • Loading branch information
daniel-beck and daniel-beck authored May 19, 2022
1 parent 49f9f0c commit f9912f5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
20 changes: 0 additions & 20 deletions test/src/test/java/hudson/model/AbstractProjectTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
import org.jvnet.hudson.test.MockAuthorizationStrategy;
import org.jvnet.hudson.test.MockFolder;
import org.jvnet.hudson.test.TestExtension;
import org.jvnet.hudson.test.TestPluginManager;
import org.jvnet.hudson.test.recipes.PresetData;
import org.jvnet.hudson.test.recipes.PresetData.DataSet;
import org.kohsuke.args4j.CmdLineException;
Expand Down Expand Up @@ -434,25 +433,6 @@ public void addTriggerDifferentType() throws Exception {
*/
@Test
public void configDotXmlSubmissionToDifferentType() throws Exception {
TestPluginManager tpm = (TestPluginManager) j.jenkins.pluginManager;
tpm.installDetachedPlugin("structs");
tpm.installDetachedPlugin("workflow-step-api");
tpm.installDetachedPlugin("scm-api");
tpm.installDetachedPlugin("workflow-api");
tpm.installDetachedPlugin("script-security");
tpm.installDetachedPlugin("jquery3-api");
tpm.installDetachedPlugin("snakeyaml-api");
tpm.installDetachedPlugin("jackson2-api");
tpm.installDetachedPlugin("popper-api");
tpm.installDetachedPlugin("plugin-util-api");
tpm.installDetachedPlugin("font-awesome-api");
tpm.installDetachedPlugin("bootstrap4-api");
tpm.installDetachedPlugin("echarts-api");
tpm.installDetachedPlugin("display-url-api");
tpm.installDetachedPlugin("checks-api");
tpm.installDetachedPlugin("junit");
tpm.installDetachedPlugin("matrix-project");

j.jenkins.setCrumbIssuer(null);
FreeStyleProject p = j.createFreeStyleProject();

Expand Down
12 changes: 10 additions & 2 deletions war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ THE SOFTWARE.
<artifactItem>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>windows-slaves</artifactId>
<version>1.0</version>
<version>1.8.1</version>
<type>hpi</type>
</artifactItem>
<artifactItem>
Expand All @@ -275,7 +275,7 @@ THE SOFTWARE.
<artifactItem>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>script-security</artifactId>
<version>1.75</version>
<version>1172.v35f6a_0b_8207e</version>
<type>hpi</type>
</artifactItem>
<artifactItem>
Expand Down Expand Up @@ -335,6 +335,14 @@ THE SOFTWARE.
<type>hpi</type>
</artifactItem>

<artifactItem>
<!-- dependency of script-security -->
<groupId>io.jenkins.plugins</groupId>
<artifactId>caffeine-api</artifactId>
<version>2.9.3-65.v6a_47d0f4d1fe</version>
<type>hpi</type>
</artifactItem>

<artifactItem>
<!-- dependency of echarts-api and bootstrap4-api -->
<groupId>io.jenkins.plugins</groupId>
Expand Down

0 comments on commit f9912f5

Please sign in to comment.