This plugin displays random chosen tips extracted from the book The Pragmatic Programmer: From Journeyman to Master by Andrew Hunt and David Thomas on the job page and each build page.
This is the easiest and recommended way. Open your Jenkins instance's Plugin Manager and find the Pragprog Plugin in the Available tab,
://<jenkins>/pluginManager/available. Check the checkbox and decide whether to Install without restart or Download now and install after restart by clicking the corresponding button.
Download the latest pragprog.hpi file. Open your Jenkins instance's Plugin Manager and install the file by using the upload form in the Advanced tab,
://<jenkins>/pluginManager/advanced, or save the file (and all its dependencies) into the
$JENKINS_HOME/plugins directory. Note that you will need to restart your Jenkins instance.
Pipelines require a Jenkins instance that is set up with the appropriate plugins. See the Getting Started Guide for more information.
Open the pipeline snippet generator,
://<jenkins>/pipeline-syntax. Expand the Sample Step list and select the Activate tips from The Pragmatic Programmer option. Adjust the provided Pragprog Plugin options and commit all changes by clicking the Generate Groovy button.
Copy the generated code, e.g.
Open your pipeline's configuration page and find the Pipeline section. Paste the previously copied code into the Script field and commit all changes by clicking the Save or Apply button.
Open your job's configuration page and find the Post-build Actions section. Expand the Add post-build action button and select the Activate tips from The Pragmatic Programmer option. Adjust the provided Pragprog Plugin options and commit all changes by clicking the Save or Apply button.
Help and support
Version 2.0.0 (June 10, 2016)
- Issue #3: Support for pipelines
Version 1.0.5 (May 13, 2016)
- Minor UI improvements
Version 1.0.4 (May 01, 2013)
- Initial public release
Permission to use the tips from the book The Pragmatic Programmer: From Journeyman to Master by Andrew Hunt and David Thomas in this plugin was granted by Pearson Education, Inc., Upper Saddle River, NJ.