Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 838f8c6

Browse files
committed
Default target_url to build instead of pipeline job
1 parent 3fd5993 commit 838f8c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ eval $( jq -r '{
1010
"params_state": .params.state,
1111
"params_description": ( .params.description // "" ),
1212
"params_description_path": ( .params.description_path // "" ),
13-
"params_target_url": ( .params.target_url // "$ATC_EXTERNAL_URL/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME#$BUILD_ID" )
13+
"params_target_url": ( .params.target_url // "$ATC_EXTERNAL_URL/builds/$BUILD_ID" )
1414
} | to_entries[] | .key + "=" + @sh "\(.value)"' < /tmp/stdin )
1515

1616

0 commit comments

Comments
 (0)