-
Notifications
You must be signed in to change notification settings - Fork 80
Update dependencies, use OutboundAgent for tests
#652
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
Changes from 5 commits
fc46c0b
22648d2
595d649
d9ec8bc
c43e444
2b54187
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 |
|---|---|---|
|
|
@@ -25,11 +25,13 @@ | |
| package io.jenkins.plugins.artifact_manager_jclouds; | ||
|
|
||
| import org.jenkinsci.plugins.workflow.ArtifactManagerTest; | ||
| import static org.junit.Assume.assumeFalse; | ||
| import org.junit.ClassRule; | ||
| import org.junit.Rule; | ||
| import org.junit.Test; | ||
| import org.jvnet.hudson.test.BuildWatcher; | ||
| import org.jvnet.hudson.test.JenkinsRule; | ||
| import org.testcontainers.DockerClientFactory; | ||
|
|
||
| public class MockBlobStoreTest { | ||
|
|
||
|
|
@@ -41,8 +43,9 @@ public class MockBlobStoreTest { | |
|
|
||
| @Test | ||
| public void smokes() throws Exception { | ||
| ArtifactManagerTest.artifactArchiveAndDelete(j, new JCloudsArtifactManagerFactory(new MockBlobStore()), false, null); | ||
| ArtifactManagerTest.artifactStashAndDelete(j, new JCloudsArtifactManagerFactory(new MockBlobStore()), false, null); | ||
| assumeFalse("Does not work when Dockerized since the mock server is inaccessible from the container", DockerClientFactory.instance().isDockerAvailable()); | ||
|
Member
Author
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. Replacement API does not have a version which declines to start a container when it could, which this test would need. Not much of a concern since this is a test facility used only by 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. Thanks for this change. I'm seeing failures of the I can duplicate that failure in a local run of the plugin BOM with the command: I've confirmed that an incremental build of artifact-manager-s3 (including this change) passes the plugin BOM with the same command. Would you be willing to release a new version of artifact-manager-s3 so that the 2.516.x release line can be added to the plugin BOM? The pull request that needs the new release of artifact-manager-s3 is:
Member
Author
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. @MarkEWaite sorry, I did not think of that at the time. https://github.com/jenkinsci/artifact-manager-s3-plugin/releases/tag/949.v2567c4c52d79 |
||
| ArtifactManagerTest.artifactArchiveAndDelete(j, new JCloudsArtifactManagerFactory(new MockBlobStore()), false); | ||
| ArtifactManagerTest.artifactStashAndDelete(j, new JCloudsArtifactManagerFactory(new MockBlobStore()), false); | ||
| } | ||
|
|
||
| } | ||
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.
jenkinsci/bom#5214