From b32e24302936d9fceab2aab5e63746895fa101d2 Mon Sep 17 00:00:00 2001 From: Sido Haakma Date: Wed, 18 Aug 2021 10:30:20 +0200 Subject: [PATCH] chore: post to specific channel instead of default hubot --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c9bb254..787218b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -93,7 +93,7 @@ pipeline { sh "twine upload --repository-url ${PYPI_REGISTRY} -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} dist/*" sh "git push --tags origin master" - hubotSend(message: "Python REST Client ${PYTHON_CLIENT_VERSION} has been successfully released! :tada: https://pypi.org/project/molgenis-py-client/", status:'SUCCESS') + molgenisSlack(message: "Python REST Client ${PYTHON_CLIENT_VERSION} has been successfully released! :tada: https://pypi.org/project/molgenis-py-client/", status:'SUCCESS', channel: "#pr-platform") } } } @@ -109,9 +109,9 @@ pipeline { } def notifySuccess() { - hubotSend(message: 'Build success', status:'INFO', site: 'slack-pr-app-team') + molgenisSlack(message: 'Build success', status:'INFO', site: '#pr-platform') } def notifyFailed() { - hubotSend(message: 'Build failed', status:'ERROR', site: 'slack-pr-app-team') + molgenisSlack(message: 'Build failed', status:'ERROR', site: '#pr-platform') }