Skip to content

Commit

Permalink
Skip test on ci.jenkins.io
Browse files Browse the repository at this point in the history
  • Loading branch information
DaGeRe committed Dec 12, 2022
1 parent d6e3106 commit 4e26209
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.io.IOException;

import org.junit.Assert;
import org.junit.Assume;
import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.JenkinsRule;
Expand Down Expand Up @@ -41,6 +42,8 @@ public void testNoGitFailure() throws Exception {
// The tests sometimes fails in GH Actions or ci.jenkins.io because of timeout - therefore, the timeout is increased
@WithTimeout(300)
public void testFullBuild() throws Exception {
// Ignore this test on Jenkins infrastructure, since there is a problem with the file system
Assume.assumeFalse(new File(".").getAbsolutePath().startsWith("C:\\Jenkins"));

FreeStyleProject project = jenkins.createFreeStyleProject();
initProjectFolder(project);
Expand Down

0 comments on commit 4e26209

Please sign in to comment.