Office 365 Connector plugin for Jenkins
Plugin is used to send actionable messages in Outlook, Office 365 Groups, and Microsoft Teams.
- Install this plugin on your Jenkins server
- Configure it in your Jenkins job and add webhook URL obtained from office 365 connector.
job('Example Job Name') {
description 'Example description'
configure { project ->
project / 'properties' << 'jenkins.plugins.office365connector.WebhookJobProperty' {
webhooks {
'jenkins.plugins.office365connector.Webhook' {
name('Example Webhook Name')
url('https://outlook.office.com/webhook/123456...')
startNotification(false)
notifySuccess(true)
notifyAborted(false)
notifyNotBuilt(false)
notifyUnstable(true)
notifyFailure(true)
notifyBackToNormal(true)
notifyRepeatedFailure(false)
timeout(30000)
macros(class: 'empty-list')
}
}
}
}
}
Install Maven and JDK. This was last build with Maven 3.2.5 and OpenJDK 1.7.0_75 on KUbuntu 14.04.
Run unit tests
mvn test
Create an HPI file to install in Jenkins (HPI file will be in target/slack.hpi).
mvn package
You may find useful below link if you like to contribute and add new feature: