Skip to content

Commit 4c7fc71

Browse files
committed
temp: introduce regression
1 parent 8e602fb commit 4c7fc71

File tree

2 files changed

+74
-73
lines changed

2 files changed

+74
-73
lines changed

.buildkite/pipeline.yml

Lines changed: 73 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -12,71 +12,71 @@ agents:
1212
queue: "android"
1313

1414
steps:
15-
- label: Gradle Wrapper Validation
16-
command: validate_gradle_wrapper
17-
agents:
18-
queue: linter
15+
# - label: Gradle Wrapper Validation
16+
# command: validate_gradle_wrapper
17+
# agents:
18+
# queue: linter
1919

2020
# Wait for Gradle Wrapper to be validated before running any other jobs
21-
- wait
21+
# - wait
2222

2323
########################################
24-
- group: "🕵️ Linters"
25-
steps:
26-
27-
- label: "☢️ Danger - PR Check"
28-
command: danger
29-
key: danger
30-
if: "build.pull_request.id != null"
31-
retry:
32-
manual:
33-
permit_on_passed: true
34-
agents:
35-
queue: "linter"
36-
37-
- label: "detekt"
38-
command: |
39-
if .buildkite/commands/should-skip-job.sh --job-type validation; then
40-
exit 0
41-
fi
42-
./gradlew detektAll
43-
plugins: [$CI_TOOLKIT]
44-
artifact_paths:
45-
- "**/build/reports/detekt/detekt.html"
46-
47-
- label: "lint"
48-
command: .buildkite/commands/lint.sh
49-
plugins: [$CI_TOOLKIT]
50-
artifact_paths:
51-
- "**/build/reports/lint-results*.*"
52-
53-
- label: "Dependency Tree Diff"
54-
command: comment_with_dependency_diff 'woocommerce' 'vanillaReleaseRuntimeClasspath'
55-
if: build.pull_request.id != null
56-
plugins: [$CI_TOOLKIT]
57-
artifact_paths:
58-
- "**/build/reports/diff/*"
59-
60-
- label: "Merged Manifest Diff"
61-
command: ".buildkite/commands/diff-merged-manifest.sh vanillaRelease"
62-
if: build.pull_request.id != null
63-
plugins: [$CI_TOOLKIT]
64-
artifact_paths:
65-
- "**/build/reports/diff_manifest/**/**/*"
24+
# - group: "🕵️ Linters"
25+
# steps:
26+
#
27+
# - label: "☢️ Danger - PR Check"
28+
# command: danger
29+
# key: danger
30+
# if: "build.pull_request.id != null"
31+
# retry:
32+
# manual:
33+
# permit_on_passed: true
34+
# agents:
35+
# queue: "linter"
36+
#
37+
# - label: "detekt"
38+
# command: |
39+
# if .buildkite/commands/should-skip-job.sh --job-type validation; then
40+
# exit 0
41+
# fi
42+
# ./gradlew detektAll
43+
# plugins: [$CI_TOOLKIT]
44+
# artifact_paths:
45+
# - "**/build/reports/detekt/detekt.html"
46+
#
47+
# - label: "lint"
48+
# command: .buildkite/commands/lint.sh
49+
# plugins: [$CI_TOOLKIT]
50+
# artifact_paths:
51+
# - "**/build/reports/lint-results*.*"
52+
#
53+
# - label: "Dependency Tree Diff"
54+
# command: comment_with_dependency_diff 'woocommerce' 'vanillaReleaseRuntimeClasspath'
55+
# if: build.pull_request.id != null
56+
# plugins: [$CI_TOOLKIT]
57+
# artifact_paths:
58+
# - "**/build/reports/diff/*"
59+
#
60+
# - label: "Merged Manifest Diff"
61+
# command: ".buildkite/commands/diff-merged-manifest.sh vanillaRelease"
62+
# if: build.pull_request.id != null
63+
# plugins: [$CI_TOOLKIT]
64+
# artifact_paths:
65+
# - "**/build/reports/diff_manifest/**/**/*"
6666

6767
########################################
68-
- group: "🛠 Prototype Builds"
69-
steps:
70-
71-
- label: "🛠 Prototype Build: Mobile App"
72-
command: ".buildkite/commands/prototype-build.sh WooCommerce"
73-
if: build.pull_request.id != null
74-
plugins: [$CI_TOOLKIT]
75-
76-
- label: "🛠 Prototype Build: Wear App"
77-
command: ".buildkite/commands/prototype-build.sh WooCommerce-Wear"
78-
if: build.pull_request.id != null
79-
plugins: [$CI_TOOLKIT]
68+
# - group: "🛠 Prototype Builds"
69+
# steps:
70+
#
71+
# - label: "🛠 Prototype Build: Mobile App"
72+
# command: ".buildkite/commands/prototype-build.sh WooCommerce"
73+
# if: build.pull_request.id != null
74+
# plugins: [$CI_TOOLKIT]
75+
#
76+
# - label: "🛠 Prototype Build: Wear App"
77+
# command: ".buildkite/commands/prototype-build.sh WooCommerce-Wear"
78+
# if: build.pull_request.id != null
79+
# plugins: [$CI_TOOLKIT]
8080

8181
########################################
8282
- group: "🔬 Tests"
@@ -90,21 +90,22 @@ steps:
9090
<<: *test_collector_common_params
9191
api-token-env-name: "BUILDKITE_ANALYTICS_TOKEN_UNIT_TESTS"
9292
- claude-summarize#v1.1.0:
93-
api_key: "ANTHROPIC_API_KEY"
93+
api_key: "$ANTHROPIC_API_KEY"
94+
buildkite_api_token: "$BUILDKITE_TOKEN"
9495
artifact_paths:
9596
- "**/build/test-results/merged-test-results.xml"
9697

97-
- label: "Instrumented tests"
98-
command: .buildkite/commands/run-instrumented-tests.sh
99-
plugins:
100-
- $CI_TOOLKIT
101-
- $TEST_COLLECTOR :
102-
<<: *test_collector_common_params
103-
api-token-env-name: "BUILDKITE_ANALYTICS_TOKEN_INSTRUMENTED_TESTS"
104-
artifact_paths:
105-
- "**/build/instrumented-tests/**/*"
98+
# - label: "Instrumented tests"
99+
# command: .buildkite/commands/run-instrumented-tests.sh
100+
# plugins:
101+
# - $CI_TOOLKIT
102+
# - $TEST_COLLECTOR :
103+
# <<: *test_collector_common_params
104+
# api-token-env-name: "BUILDKITE_ANALYTICS_TOKEN_INSTRUMENTED_TESTS"
105+
# artifact_paths:
106+
# - "**/build/instrumented-tests/**/*"
106107

107108

108-
- label: "🐘 Populate Gradle build cache"
109-
command: .buildkite/commands/gradle-cache-build.sh
110-
plugins: [$CI_TOOLKIT]
109+
# - label: "🐘 Populate Gradle build cache"
110+
# command: .buildkite/commands/gradle-cache-build.sh
111+
# plugins: [$CI_TOOLKIT]

WooCommerce/src/main/kotlin/com/woocommerce/android/model/Address.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ data class Address(
8181
fun toShippingLabelModel(): ShippingLabelAddress {
8282
return ShippingLabelAddress(
8383
company = company,
84-
name = "$firstName $lastName".trim().takeIf { it.isNotBlank() },
84+
name = "$firstName $lastName".trim().takeIf { it.isBlank() },
8585
phone = phone,
8686
address = address1,
8787
address2 = address2,

0 commit comments

Comments
 (0)