Skip to content

Commit

Permalink
Change to Use tokenCredentialId for Triggering ml-models-release via …
Browse files Browse the repository at this point in the history
…Generic Webhook (#240)

* Change to release cred

Signed-off-by: Thanawan Atchariyachanvanit <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Thanawan Atchariyachanvanit <[email protected]>

---------

Signed-off-by: Thanawan Atchariyachanvanit <[email protected]>
  • Loading branch information
thanawan-atc authored Aug 23, 2023
1 parent 66b9ce3 commit 2a371bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Enable make_model_config_json to add model description to model config file by @thanawan-atc in ([#203](https://github.com/opensearch-project/opensearch-py-ml/pull/203))
- Correct demo_ml_commons_integration.ipynb by @thanawan-atc in ([#208](https://github.com/opensearch-project/opensearch-py-ml/pull/208))
- Handle the case when the model max length is undefined in tokenizer by @thanawan-atc in ([#219](https://github.com/opensearch-project/opensearch-py-ml/pull/219))
- Change to use tokenCredentialId for triggering ml-models-release via generic webhook by @thanawan-atc in ([#240](https://github.com/opensearch-project/opensearch-py-ml/pull/240))


## [1.1.0]
Expand Down
2 changes: 1 addition & 1 deletion jenkins/ml-models.JenkinsFile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {
[key: 'VERSION', value: '$.VERSION'],
[key: 'FORMAT', value: '$.FORMAT']
],
token: 'JENKINS_ML_MODELS_RELEASE_GENERIC_WEBHOOK_TOKEN',
tokenCredentialId: 'jenkins-ml-models-webhook-token',
causeString: 'Triggered by GitHub Actions Workflow',
printContributedVariables: true,
printPostContent: true
Expand Down

0 comments on commit 2a371bc

Please sign in to comment.