Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Lance Albertson <[email protected]>
  • Loading branch information
ramereth committed Oct 4, 2024
1 parent d821605 commit 74c2274
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ pipeline {
post {
always {
script {
def buildStatus = currentBuild.result ?: 'SUCCESS'
def siteUrl = ""
if (env.BRANCH_NAME == 'main') {
siteUrl = "https://new.osuosl.org/"
Expand All @@ -53,8 +52,8 @@ pipeline {
// Post build status with a link to the site
githubNotify context: 'Built site URL',
description: 'Build completed',
status: buildStatus,
targetUrl: "${Siteurl}",
status: currentBuild.result,
targetUrl: "${siteUrl}",
message: "Site available: ${siteUrl}"
}
}
Expand Down

0 comments on commit 74c2274

Please sign in to comment.