File tree Expand file tree Collapse file tree
src/test/java/org/jenkinsci/plugins/scriptsecurity/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545import org .jenkinsci .plugins .scriptsecurity .sandbox .groovy .SecureGroovyScript ;
4646import org .jenkinsci .plugins .scriptsecurity .sandbox .groovy .TestGroovyRecorder ;
4747import org .jenkinsci .plugins .scriptsecurity .scripts .languages .GroovyLanguage ;
48+ import org .junit .Ignore ;
4849import org .junit .Rule ;
4950import org .junit .Test ;
5051import org .jvnet .hudson .test .Issue ;
@@ -209,6 +210,9 @@ public void reload() throws Exception {
209210 r .assertBuildStatus (Result .FAILURE , p .scheduleBuild2 (0 ).get ()));
210211 }
211212
213+ // Ignored: This test uses external website https://www.jenkins.io which can break the test if the site is down
214+ // TODO: fix this test to not depend on external websites
215+ @ Ignore
212216 @ Test
213217 public void forceSandboxTests () throws Exception {
214218 setBasicSecurity ();
You can’t perform that action at this time.
0 commit comments