File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ object AcceptanceTestsTemplate : Template({
17
17
18
18
19
19
params {
20
- param ("env.access_key", "% credentialsJSON:2978988a-493b-44ed-9fcb-6cd6d2c2c673% ")
21
- param ("env.secret_access_key", "% credentialsJSON:409a55c0-b2e7-438c-98dd-f0404b83cabb% ")
20
+ password ("env.access_key", "credentialsJSON:2978988a-493b-44ed-9fcb-6cd6d2c2c673")
21
+ password ("env.secret_access_key", "credentialsJSON:409a55c0-b2e7-438c-98dd-f0404b83cabb")
22
22
}
23
23
24
24
Original file line number Diff line number Diff line change 1
1
package Weekly
2
2
3
3
import Templates.*
4
- import jetbrains.buildServer.configs.kotlin.AbsoluteId
5
- import jetbrains.buildServer.configs.kotlin.BuildType
6
- import jetbrains.buildServer.configs.kotlin.DslContext
7
- import jetbrains.buildServer.configs.kotlin.FailureAction
8
- import jetbrains.buildServer.configs.kotlin.Project
4
+ import jetbrains.buildServer.configs.kotlin.*
9
5
import jetbrains.buildServer.configs.kotlin.buildFeatures.notifications
10
6
import jetbrains.buildServer.configs.kotlin.triggers.ScheduleTrigger
11
7
import jetbrains.buildServer.configs.kotlin.triggers.schedule
12
8
13
9
object WeeklyProject : Project({
14
10
name = " Weekly"
15
11
12
+ buildType(AcceptanceTests )
16
13
buildType(WeeklyTests )
17
14
15
+ template(AcceptanceTestsTemplate )
16
+
18
17
})
19
18
20
19
object AcceptanceTests : BuildType({
@@ -82,4 +81,10 @@ object WeeklyTests : BuildType({
82
81
buildFailed = true
83
82
}
84
83
}
84
+
85
+ dependencies {
86
+ snapshot(AcceptanceTests ) {
87
+ onDependencyFailure = FailureAction .FAIL_TO_START
88
+ }
89
+ }
85
90
})
You can’t perform that action at this time.
0 commit comments