Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: post to specific channel instead of default hubot #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
Expand All @@ -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')
}