Fix environment variable names
This commit is contained in:
parent
bd51cb6b0d
commit
b9798dcc3a
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
if [[ "${WOODPECKER_BUILD_STATUS}" = "success" ]]; then
|
||||
MESSAGE="✔️ Build for ${WOODPECKER_COMMIT_SHA} on ${WOODPECKER_REPO_OWNER}/${WOODPECKER_REPO_NAME} succeeded."
|
||||
if [[ "${CI_BUILD_STATUS}" = "success" ]]; then
|
||||
MESSAGE="✔️ Build for ${CI_COMMIT_SHA} on ${CI_REPO} succeeded."
|
||||
else
|
||||
MESSAGE="❌ Build for ${WOODPECKER_COMMIT_SHA} on ${WOODPECKER_REPO_OWNER}/${WOODPECKER_REPO_NAME} failed.\nSee ${WOODPECKER_BUILD_LINK}"
|
||||
MESSAGE="❌ Build for ${CI_COMMIT_SHA} on ${CI_REPO} failed on ${CI_MACHINE} (${CI_SYSTEM_ARCH}).\nSee ${CI_BUILD_LINK}"
|
||||
fi
|
||||
|
||||
SERVER_DETAILS=""
|
||||
|
Loading…
Reference in New Issue
Block a user