We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da3cdf4 commit bf50edeCopy full SHA for bf50ede
jenkins.groovy
@@ -216,6 +216,7 @@ pipeline
216
{
217
GITHUB_CREDS = credentials('github-access-token')
218
REPO_API_URL = 'https://api.github.com/repos/Graylog2/collector-sidecar'
219
+ UPLOAD_API_URL = 'https://uploads.github.com/repos/Graylog2/collector-sidecar'
220
}
221
222
steps
@@ -238,7 +239,7 @@ pipeline
238
239
-H "Authorization: token $GITHUB_CREDS" \
240
-H "Content-Type: application/octet-stream" \
241
--data-binary "@$file" \
- "$REPO_API_URL/releases/$RELEASE_ID/assets?name=$name"
242
+ "$UPLOAD_API_URL/releases/$RELEASE_ID/assets?name=$name"
243
done
244
'''
245
0 commit comments