This plugin bridges the gap between Jenkins and RTC. By adding the functionality to associate RTC Ticket with Jenkins builds and vice versa.
You can build the plugin with gradle task jpi.
You'll need to place the (extracted) RTC Plain Java API JARs in lib
beforehand, see README there.
gradle clean jpi
The .hpi
will be generated into build/libs/rjl.hpi
Just follow this guide. Plugin Installation Guide
-
Put your RTC Link in the global configuration. Which you find under https://[YOUR-JENKINS-LINK]/configure
-
Add your Credentials for RTC. See How to add Credentials
-
Go to a build and then to the RTC Jenkins Linker tab.
- Either remove a Link, or add another one by specifying the ID of the RTC ticket.
You can see if a build is linked, either from the badge in the Build History or by the entry in the builds status page.
PS: Both are clickable to acces the RTC Ticket eveen quicker
- Go to https://[YOUR-JENKINS-LINK]/credentials/store/system/domain/_/newCredentials
- The Type should be Username with Password.
- The Scope is Global.
- Fill out username and password.
- Set the ID to RTCCREDENTIALS
- And save it.
- Go to https://[YOUR-JENKINS-LINK]/log
- Click on Add new log recorder
- Give the Log recorder a name and click on ok
- Than click on the button to add a new logger.
- Give it the id rjl, and click on save.
(The logger logs all information on level FINE, and exceptions on level SEVERE)
The MIT License
Copyright 2021
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.