Skip to content

Commit ca0656d

Browse files
author
Denys Zhuravel
committed
add defaults for the option annotation
1 parent b218243 commit ca0656d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/java/albelli/cloudgradle/api/CloudGradleOptions.kt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import java.lang.annotation.RetentionPolicy
2121
/**
2222
* @return target directory of CloudGradle-report (this defaults to 'target' directory)
2323
*/
24-
val reportTargetDir: String = "",
24+
val reportTargetDir: String = "build/cloudgradle",
2525
/**
2626
* @return the Cucumber options
2727
*/
@@ -30,7 +30,7 @@ import java.lang.annotation.RetentionPolicy
3030
/**
3131
* @return the name of the CodeBuild project
3232
*/
33-
val projectName: String = "",
33+
val projectName: String = "cloudgradle-runners",
3434

3535
/**
3636
* @return the arn to the AWS IAM service role to run the codebuild jobs
@@ -40,12 +40,12 @@ import java.lang.annotation.RetentionPolicy
4040
/**
4141
* @return the name of the docker image to run the job on (/aws/codebuild or docker hub or ECR)
4242
*/
43-
val image: String = "",
43+
val image: String = "albelli/aws-codebuild-docker-images:java-openjdk-8-chromedriver",
4444

4545
/**
4646
* @return the type of the CodeBuild instance to use
4747
*/
48-
val computeType: String = "",
48+
val computeType: String = "BUILD_GENERAL1_SMALL",
4949

5050
/**
5151
* @return the name of the bucket to put the jar and artifacts in
@@ -54,15 +54,15 @@ import java.lang.annotation.RetentionPolicy
5454
/**
5555
* @return the folder within the bucket to put the jar in
5656
*/
57-
val bucketSourceFolder: String = "",
57+
val bucketSourceFolder: String = "cloudgradle/source-dir/",
5858
/**
5959
* @return the folder within the bucket to put artifacts in
6060
*/
61-
val bucketOutputFolder: String = "",
61+
val bucketOutputFolder: String = "cloudgradle/artifacts/",
6262
/**
6363
* @return the name of the zipped artifacts file
6464
*/
65-
val outputFileName: String = ""
65+
val outputFileName: String = "runResults.zip"
6666

6767
)
6868
{

0 commit comments

Comments
 (0)