Mr. Jenkins has feelings too.
This plugin lets him show them: after every build, Mr. Jenkins appears in the side panel and reacts to the result. He is happy when the build succeeds, worried when it is unstable, angry when it fails, and disappointed when it is aborted.
It works with Freestyle jobs and with Declarative and Scripted Pipelines.
- Download & Installation
- Usage
- Moods
- Screenshots
- Requirements
- Release Notes
- Contributing
- Credits
- Maintainers
- License
Install the plugin from the Jenkins Plugin Manager (Manage Jenkins > Plugins > Available plugins, search for Emotional Jenkins), or download the latest .hpi and upload it via Manage Jenkins > Plugins > Advanced settings.
- Open the job's configuration page.
- In Post-build Actions, click Add post-build action and select Emotional Jenkins.
- Save, then run a build. Mr. Jenkins appears in the side panel of the build page and the job page.
Add the emotionalJenkins() step to your Jenkinsfile. In a Declarative Pipeline, put it in post { always { ... } } so it runs whatever the outcome:
pipeline {
agent any
stages {
stage('Build') {
steps {
sh './gradlew build'
}
}
stage('Test') {
steps {
sh './gradlew test'
}
}
}
post {
always {
emotionalJenkins()
}
}
}
In a Scripted Pipeline, call it at the end, using try/finally so it also runs when the build fails:
node {
try {
stage('Build') {
sh 'make'
}
} finally {
emotionalJenkins()
}
}
Good to know:
- Mr. Jenkins shows the final result of the build, even though the step runs before the build has finished. A build that fails after the step was called still makes him angry.
- The step does not need an agent or a workspace, so it also works with
agent none. - On the job page, Mr. Jenkins shows the mood of the last completed build that used the plugin.
These screenshots come from Declarative Pipelines that use emotionalJenkins() in post { always { ... } }.
Mr. Jenkins also appears on the job page, showing the mood of the latest build:
The mood images have transparent backgrounds, so Mr. Jenkins also looks right with the Dark Theme:
- Jenkins 2.580.2 or newer
- Java 21 or newer
See GitHub Releases.
Contributions are welcome! See CONTRIBUTING.md for details.
To try your changes locally, run:
mvn hpi:run
and open http://localhost:8080/jenkins/. Run the full test suite with mvn clean verify.
- Originally created by Masanobu Imai.
- Inspiration for the Chuck Norris plugin.
This plugin is actively maintained. Co-contributors and feedback are welcome — please open an issue or pull request.
This project is licensed under the MIT License.













