Skip to content

Commit 825305b

Browse files
authoredOct 29, 2018
simplify API call
fix for GHE users who may name their repository something other than `realitycheck`
1 parent 0e44e6a commit 825305b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ resource_job_defaults: &resource_job_defaults
77
name: verify that job ran with the requested resource_class option
88
command: |
99
curl -k \
10-
"$CIRCLE_HOSTNAME/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME/realitycheck/$CIRCLE_BUILD_NUM?\
10+
"$CIRCLE_HOSTNAME/api/v1.1/project/github/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/$CIRCLE_BUILD_NUM?\
1111
circle-token=$CIRCLE_TOKEN" | \
1212
jq '.picard.resource_class.class' | grep $CIRCLE_JOB
1313

0 commit comments

Comments
 (0)
Failed to load comments.