Skip to content

Commit

Permalink
Hotfix ETO-346: Change access_token for update commit status
Browse files Browse the repository at this point in the history
Change build name
  • Loading branch information
valeg-etendo committed May 31, 2024
1 parent 74cb4ad commit 864f420
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pipelines/unittests/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pipeline {
GITHUB_TOKEN = credentials('github-read-package-token')
LANG = 'en_US.UTF-8'

ACCESS_TOKEN = credentials('access_token')
ACCESS_TOKEN = credentials('access_token_github')
EMAIL_ADDRESS = credentials('email_builds')

URL_REPO = 'https://github.com/etendosoftware/etendo_core'
Expand Down
2 changes: 1 addition & 1 deletion pipelines/unittests/build-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DESCRIPTION=$3
TARGET_URL="$6"
ACCESS_TOKEN=$4
GIT_STATUS_URL="https://$ACCESS_TOKEN:x-oauth-basic@$URI/repos/$OWNER/$REPO_SLUG/statuses/${REVISION}"
TEMPLATE='{"state":"%s", "target_url":"%s", "description":"%s", "context":"build/job"}'
TEMPLATE='{"state":"%s", "target_url":"%s", "description":"%s", "context":"Etendo Core Unit Tests"}'
PAYLOAD=$(printf "$TEMPLATE" "$STATUS" "$TARGET_URL" "$DESCRIPTION")

echo $PAYLOAD
Expand Down

0 comments on commit 864f420

Please sign in to comment.