File tree 1 file changed +4
-10
lines changed
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,12 @@ job("Build AGConnect publishing") {
9
9
startOn {
10
10
gitPush { enabled = false }
11
11
}
12
- parameters {
13
- text(" GRADLE_TASKS" , value = " build" , description = " Gradle tasks" ) {
14
- options(" build" , " build publish" ) {
15
- allowMultiple = false
16
- }
17
- }
18
- }
19
12
container(displayName = " Gradle build" , image = " {{ project:DOCKER_IMAGE }}:lts" ) {
20
13
env[" JB_SPACE_MAVEN_REPO" ] = " {{ project:JB_SPACE_MAVEN_REPO }}"
21
- env[" GRADLE_TASKS" ] = " {{ GRADLE_TASKS }}"
22
- shellScript {
23
- content = " gradle --init-script $mountDir /system/gradle/init.gradle -Dorg.gradle.parallel=false ${' $' } GRADLE_TASKS"
14
+ env[" GRADLE_USER_HOME" ] = " {{ project:GRADLE_USER_HOME }}"
15
+ kotlinScript { api ->
16
+ api.gradle(" build" )
17
+ api.gradle(" publish" )
24
18
}
25
19
}
26
20
}
You can’t perform that action at this time.
0 commit comments