Skip to content

Commit 3c61737

Browse files
committed
add bearer token
1 parent 664968d commit 3c61737

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ jobs:
4747
- run: ./gradlew -x build test -Dtest.profile=integration
4848

4949
- name: Verify probe connected
50-
run: resp=$(curl --insecure https://localhost:5445/clients) && [[ $(echo $resp | jq -r ."probes"[0]."meta"."language") == "java" ]] && echo $resp || (echo $resp && exit 1)
51-
50+
run: |
51+
resp=$(curl --header "Authorization: Bearer ${{ env.SPP_JWT_TOKEN }}" --insecure https://localhost:5445/clients) && [[ $(echo $resp | jq -r ."probes"[0]."meta"."language") == "java" ]] && echo $resp || (echo $resp && exit 1)
52+
5253
- name: Live breakpoint (false condition)
5354
run: |
5455
docker exec spp-platform ./spp-cli developer add-live-breakpoint -c 1==2 VariableTests 26

0 commit comments

Comments
 (0)