mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-27 15:16:05 +00:00
deploy: 207dc3a845f129f96253e29ed3471be90d0a9a44
This commit is contained in:
parent
381c45d0d8
commit
85ae65bc58
@ -125,7 +125,7 @@ def versionWasChanged(version) {
|
||||
script: "git diff --name-only origin/${env.CHANGE_TARGET}",
|
||||
returnStdout: true
|
||||
)
|
||||
if (changes =~ "(?m)^(Makefile|waku.nimble|config.nims|vendor).*") {
|
||||
if (changes =~ "(?m)^(Makefile|waku.nimble|config.nims|vendor|ci).*") {
|
||||
return true
|
||||
}
|
||||
if (changes =~ "(?m)^(waku|tests|examples)/(${version}|common)/.*") {
|
||||
|
@ -64,6 +64,27 @@ pipeline {
|
||||
}
|
||||
} // stages
|
||||
post {
|
||||
success { script {
|
||||
withCredentials([
|
||||
string(
|
||||
credentialsId: 'discord-waku-deployments-webhook',
|
||||
variable: 'DISCORD_WEBHOOK'
|
||||
),
|
||||
]) {
|
||||
discordSend(
|
||||
title: "${env.JOB_NAME}#${env.BUILD_NUMBER}",
|
||||
description: """
|
||||
Nim-Waku deployment successful!
|
||||
Image: [`${IMAGE_NAME}:${IMAGE_TAG}`](https://hub.docker.com/r/${IMAGE_NAME}/tags?page=1&name=${IMAGE_TAG})
|
||||
Branch: [`${GIT_BRANCH.minus("origin/")}`](https://github.com/status-im/nwaku/commits/${GIT_BRANCH.minus("origin/")})
|
||||
Commit: [`${GIT_COMMIT.take(8)}`](https://github.com/status-im/nwaku/commit/${GIT_COMMIT.take(8)})
|
||||
""",
|
||||
link: env.BUILD_URL,
|
||||
result: currentBuild.currentResult,
|
||||
webhookURL: env.DISCORD_WEBHOOK
|
||||
)
|
||||
}
|
||||
} }
|
||||
always { sh 'docker image prune -f' }
|
||||
} // post
|
||||
} // pipeline
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
# libtool - Provide generalized library-building support services.
|
||||
# Generated automatically by config.status (libbacktrace) version-unused
|
||||
# Libtool was configured on host fv-az246-52:
|
||||
# Libtool was configured on host fv-az198-0:
|
||||
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
||||
#
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
|
||||
|
Loading…
x
Reference in New Issue
Block a user