This is a very minimal hello world Jenkins plugin that is compatible with the Jenkins Pipeline dsl.
Useful resources:
- Jenkins Pipeline: https://jenkins.io/doc/pipeline/
- Refactor a plugin to be compatible with pipeline dsl: https://jenkins.io/blog/2016/05/25/update-plugin-for-pipeline/
- Dev guide to build steps: https://github.com/jenkinsci/pipeline-plugin/blob/893e3484a25289c59567c6724f7ce19e3d23c6ee/DEVGUIDE.md#build-steps
- Guide to Jelly files (for documentation in Jenkins GUI): https://wiki.jenkins-ci.org/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins
To see what this plugin does, simply install it in Jenkins. You can do this via Manage Jenkins -> Manage Plugins -> Advaced tab and upload the plugin there. The plugin will be visible in the dsl snippet generator.