Post

Jenkins MQTT Notification Plugin: Release 122.vf67b_9da_d6f70

Jenkins MQTT Notification Plugin: Release 122.vf67b_9da_d6f70

Back in 2020, when I wrote about releasing v1.8 of the MQTT Notification Plugin for Jenkins, I signed off with:

A short while later someone created an issue for an actual feature request, so hopefully it won’t be too long until v1.9 is released!

Well, true to the definition of maintaining a side project at a “leisurely pace”, nearly six years have passed. And if you were expecting a simple v1.9.0 or v1.10.0, the Jenkins ecosystem has moved on too! Under Jenkins’ modern JEP-229 Continuous Delivery model, releases are now automated with changelist-based version numbers—making 122.vf67b_9da_d6f70 the latest official release.

Credit where it’s due: getting this release over the finish line—tackling the open issues, modernising the test suite, and overhauling the CI/CD pipelines—was in large part thanks to pair programming with Google Antigravity.

What’s New

🚀 Build Start Notifications

The headline addition is Issue #16: you can now trigger MQTT messages when a build starts, not just upon completion.

You can configure a dedicated startTopic and startMessage (or let it fall back to the default topic), complete with dynamic variable expansions like ${BUILD_DISPLAY_NAME} and ${JOB_NAME}.

🛠️ Enhanced Pipeline Support

The plugin provides full support for Jenkins Pipeline via the mqttNotification step. For example, in a Declarative Pipeline:

1
2
3
4
5
6
7
8
9
post {
    always {
        mqttNotification(
            brokerUrl: 'tcp://localhost:1883',
            topic: 'jenkins/builds/${JOB_NAME}',
            message: '{ "job": "${JOB_NAME}", "build": "${BUILD_NUMBER}", "status": "${BUILD_RESULT}" }'
        )
    }
}

☕ Modernised Toolchain & Continuous Delivery

Behind the scenes, the plugin has caught up with modern Jenkins standards:

  • Adopting JEP-229 continuous delivery with automated changelog generation via Release Drafter.
  • Jenkins LTS baseline bumped to 2.568.2.
  • Java 21 build matrix and runtime support.

The new release is live on the Jenkins Plugin Site and GitHub Releases.


Now, let’s see if anyone’s actually still using the plugin…

This post is licensed under CC BY 4.0 by the author.