Usage
Conditional Configuration
Appveyor
ci {
appveyor { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m' (2)
}
}
}
1 | Only run this configuration when on AppVeyor |
2 | By example you can set the JVM Args for tests when on Appveyor. |
Amazon CodeBuild
ci {
codebuild { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m' (2)
}
}
}
1 | Only run this configuration when on AppVeyor |
2 | By example you can set the JVM Args for tests when building on Amazon CodeBuild. |
Bamboo
ci {
bamboo { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m'
}
}
}
1 | Only use this configuration if an Atlassian Bamboo agent is detected. |
Circle CI
ci {
circleci { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m'
}
}
}
1 | Only run this configuration when on Circle CI. |
Codeship
ci {
codeship { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m'
}
}
}
1 | Only run this configuration when on Codeship. |
Drone
ci {
drone { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m'
}
}
}
1 | Only use this configuration if a Drone agent is detected. |
GitHub Actions
ci {
githubactions { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m'
}
}
}
1 | Only use this configuration if a GitHub Actions build is detected. |
GitLab Runners
ci {
gitlabci { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m'
}
}
}
1 | Only use this configuration if a GitLab runner is detected. |
Go CD
ci {
gocd { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m'
}
}
}
1 | Only run this configuration when on Go CD. |
Jenkins CI
ci {
jenkinsci { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m'
}
}
}
1 | Only run this configuration when on a Jenkins CI server. |
Teamcity
ci {
travisci { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m'
}
}
}
1 | Only run this configuration when on Jetbrains Teamcity |
Travis CI
ci {
travisci { (1)
tasks.named('test', Test) {
jvmArgs '-Xmx:2048m'
}
}
}
1 | Only run this configuration when on Travis CI |