Skip to content

Commit

Permalink
Appended BUILD_ID to the name field
Browse files Browse the repository at this point in the history
This change updates the name field passed to the Bitbucket API to reflect the intended use of these fields. The key field should be just the name of the job, where the name field should be the name of the job plus the build number, "An identifier for the build itself, e.g. BB-DEPLOY-1".
  • Loading branch information
dthagard authored and idr0id committed Aug 20, 2018
1 parent ab78f9a commit ba8d590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/out
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ elif [[ "$bitbucket_type" == "cloud" ]]; then
json=`echo "${build}" | jq --arg build_url "${build_url}" --arg id "${BUILD_ID}" --arg name "$name" --arg desc "$desc" '{
state: .state,
key: $name,
name: $name,
name: ($name + "-" + $id),
url: $build_url,
description: $desc
}'`
Expand Down

0 comments on commit ba8d590

Please sign in to comment.