Skip to content

Commit

Permalink
Tweak the code
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Aug 20, 2024
1 parent 619d6bd commit deda136
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jenkins/manifests-update.jenkinsFile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ pipeline {
withCredentials([usernamePassword(credentialsId: 'jenkins-github-bot-token', passwordVariable: 'GITHUB_TOKEN', usernameVariable: 'GITHUB_USER')]) {
try {
sh """
git remote set-url origin https://opensearch-ci:${GITHUB_TOKEN}@github.com/opensearch-project/opensearch-build
git remote remote origin
git remote add origin https://opensearch-ci:${GITHUB_TOKEN}@github.com/opensearch-project/opensearch-build
git config user.email "[email protected]"
git config user.name "opensearch-ci"
git checkout -b update-manifest
Expand Down

0 comments on commit deda136

Please sign in to comment.