Skip to content

Commit 609da60

Browse files
committed
build
1 parent a4b5f76 commit 609da60

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
4+
package software.aws.toolkits.jetbrains.uitests
5+
6+
import com.intellij.ide.starter.ci.CIServer
7+
import java.nio.file.Path
8+
9+
object TestCIServer : CIServer {
10+
override val isBuildRunningOnCI: Boolean = System.getenv("CI").toBoolean() == true
11+
override val buildNumber: String = ""
12+
override val branchName: String = ""
13+
override val buildParams: Map<String, String> = mapOf()
14+
15+
override fun publishArtifact(source: Path, artifactPath: String, artifactName: String) {
16+
}
17+
18+
override fun reportTestFailure(testName: String, message: String, details: String, linkToLogs: String?) {
19+
println("test: $testName")
20+
println("message: $message")
21+
println("details: $details")
22+
error(message)
23+
}
24+
25+
override fun ignoreTestFailure(testName: String, message: String, details: String?) {
26+
}
27+
28+
override fun isTestFailureShouldBeIgnored(message: String) = false
29+
}

0 commit comments

Comments
 (0)