File tree 5 files changed +45
-5
lines changed
5 files changed +45
-5
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ inputs:
29
29
enableGradleEnterprise :
30
30
description : " Enables Gradle Enterprise on a project not already connected"
31
31
required : false
32
+ debug :
33
+ description : " Enable debug logging for this experiment of the build validation scripts"
34
+ required : false
32
35
outputs :
33
36
buildScanFirstBuild :
34
37
description : " First build scan url"
80
83
if [ "${{ inputs.enableGradleEnterprise }}" == "true" ]; then
81
84
ARG_GE_ENABLE="${{ inputs.enableGradleEnterprise }}"
82
85
fi
86
+ ARG_DEBUG=""
87
+ if [ "${{ inputs.debug }}" == "true" ]; then
88
+ ARG_DEBUG="${{ inputs.debug }}"
89
+ fi
83
90
84
91
# Navigate into the folder containing the validation scripts
85
92
cd gradle-enterprise-gradle-build-validation
94
101
${ARG_TASKS:+"-t" "$ARG_TASKS"} \
95
102
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
96
103
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
97
- ${ARG_GE_ENABLE:+"-e"}
104
+ ${ARG_GE_ENABLE:+"-e"} \
105
+ ${ARG_DEBUG:+"--debug"}
98
106
99
107
# Set the Build Scan urls as outputs
100
108
RECEIPT_FILE=".data/01-validate-incremental-building/latest/exp1-*.receipt"
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ inputs:
32
32
failIfNotFullyCacheable :
33
33
description : " Terminates with exit code 3 if the build is not fully cacheable"
34
34
required : false
35
+ debug :
36
+ description : " Enable debug logging for this experiment of the build validation scripts"
37
+ required : false
35
38
outputs :
36
39
buildScanFirstBuild :
37
40
description : " First build scan url"
87
90
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
88
91
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"
89
92
fi
93
+ ARG_DEBUG=""
94
+ if [ "${{ inputs.debug }}" == "true" ]; then
95
+ ARG_DEBUG="${{ inputs.debug }}"
96
+ fi
90
97
91
98
# Navigate into the folder containing the validation scripts
92
99
cd gradle-enterprise-gradle-build-validation
@@ -102,7 +109,8 @@ runs:
102
109
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
103
110
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
104
111
${ARG_GE_ENABLE:+"-e"} \
105
- ${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
112
+ ${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
113
+ ${ARG_DEBUG:+"--debug"}
106
114
107
115
# Set the Build Scan urls as outputs
108
116
RECEIPT_FILE=".data/02-validate-local-build-caching-same-location/latest/exp2-*.receipt"
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ inputs:
32
32
failIfNotFullyCacheable :
33
33
description : " Terminates with exit code 3 if the build is not fully cacheable"
34
34
required : false
35
+ debug :
36
+ description : " Enable debug logging for this experiment of the build validation scripts"
37
+ required : false
35
38
outputs :
36
39
buildScanFirstBuild :
37
40
description : " First build scan url"
87
90
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
88
91
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"
89
92
fi
93
+ ARG_DEBUG=""
94
+ if [ "${{ inputs.debug }}" == "true" ]; then
95
+ ARG_DEBUG="${{ inputs.debug }}"
96
+ fi
90
97
91
98
# Navigate into the folder containing the validation scripts
92
99
cd gradle-enterprise-gradle-build-validation
@@ -102,7 +109,8 @@ runs:
102
109
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
103
110
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
104
111
${ARG_GE_ENABLE:+"-e"} \
105
- ${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
112
+ ${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
113
+ ${ARG_DEBUG:+"--debug"}
106
114
107
115
# Set the Build Scan urls as outputs
108
116
RECEIPT_FILE=".data/03-validate-local-build-caching-different-locations/latest/exp3-*.receipt"
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ inputs:
32
32
failIfNotFullyCacheable :
33
33
description : " Terminates with exit code 3 if the build is not fully cacheable"
34
34
required : false
35
+ debug :
36
+ description : " Enable debug logging for this experiment of the build validation scripts"
37
+ required : false
35
38
outputs :
36
39
buildScanFirstBuild :
37
40
description : " First build scan url"
87
90
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
88
91
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"
89
92
fi
93
+ ARG_DEBUG=""
94
+ if [ "${{ inputs.debug }}" == "true" ]; then
95
+ ARG_DEBUG="${{ inputs.debug }}"
96
+ fi
90
97
91
98
# Navigate into the folder containing the validation scripts
92
99
cd gradle-enterprise-maven-build-validation
@@ -102,7 +109,8 @@ runs:
102
109
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
103
110
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
104
111
${ARG_GE_ENABLE:+"-e"} \
105
- ${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
112
+ ${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
113
+ ${ARG_DEBUG:+"--debug"}
106
114
107
115
# Set the Build Scan urls as outputs
108
116
RECEIPT_FILE=".data/01-validate-local-build-caching-same-location/latest/exp1-*.receipt"
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ inputs:
32
32
failIfNotFullyCacheable :
33
33
description : " Terminates with exit code 3 if the build is not fully cacheable"
34
34
required : false
35
+ debug :
36
+ description : " Enable debug logging for this experiment of the build validation scripts"
37
+ required : false
35
38
outputs :
36
39
buildScanFirstBuild :
37
40
description : " First build scan url"
87
90
if [ "${{ inputs.failIfNotFullyCacheable }}" == "true" ]; then
88
91
ARG_FAIL_IF_NOT_FULLY_CACHEABLE="${{ inputs.failIfNotFullyCacheable }}"
89
92
fi
93
+ ARG_DEBUG=""
94
+ if [ "${{ inputs.debug }}" == "true" ]; then
95
+ ARG_DEBUG="${{ inputs.debug }}"
96
+ fi
90
97
91
98
# Navigate into the folder containing the validation scripts
92
99
cd gradle-enterprise-maven-build-validation
@@ -102,7 +109,8 @@ runs:
102
109
${ARG_ARGS:+"-a" "$ARG_ARGS"} \
103
110
${ARG_GE_URL:+"-s" "$ARG_GE_URL"} \
104
111
${ARG_GE_ENABLE:+"-e"} \
105
- ${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"}
112
+ ${ARG_FAIL_IF_NOT_FULLY_CACHEABLE:+"-f"} \
113
+ ${ARG_DEBUG:+"--debug"}
106
114
107
115
# Set the Build Scan urls as outputs
108
116
RECEIPT_FILE=".data/02-validate-local-build-caching-different-locations/latest/exp2-*.receipt"
You can’t perform that action at this time.
0 commit comments