Difference between revisions of "Localyzer Jenkins Plugins"
(List of plugins) |
(→Next Step) |
||
(35 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | The following Jenkins plugins must be installed: |
||
− | * Build Token Root Plugin |
||
− | [https://wiki.jenkins-ci.org/display/JENKINS/Build+Token+Root+Plugin] |
||
+ | == Set up Jenkins Plugins== |
||
− | * Credential Plugin |
||
+ | You setup the plugins used by LRM by installing the plugins from the Jenkins interface. |
||
− | [https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Plugin] |
||
+ | === The Jenkins interface === |
||
− | * Git Client Plugin |
||
− | [https://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin] |
||
+ | The following Jenkins plugins are required. To see what plugins are installed, go to '''Jenkins -> Manage Jenkins -> Manage Plugins''' and select the '''Installed''' tab. |
||
− | * GitHub API Plugin |
||
− | [https://wiki.jenkins-ci.org/display/JENKINS/ |
+ | * [https://wiki.jenkins-ci.org/display/JENKINS/Build+Token+Root+Plugin Build Token Root Plugin] |
+ | * [https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Plugin Credential Plugin] |
||
− | * GitHub Plugin |
||
− | [https://wiki.jenkins-ci.org/display/JENKINS/Github+Plugin] |
||
+ | * [https://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin Git Client Plugin] |
||
− | *Matrix Authorization Strategy Plugin (Or another authentication/authorization plugin) |
||
− | [https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Authorization+Strategy+Plugin] |
||
+ | * [https://wiki.jenkins-ci.org/display/JENKINS/GitHub+API+Plugin GitHub API Plugin] |
||
− | * Throttle Concurrent Builds Plugin |
||
− | [https://wiki.jenkins-ci.org/display/JENKINS/Throttle+Concurrent+Builds+Plugin] |
||
+ | * [https://wiki.jenkins-ci.org/display/JENKINS/Github+Plugin GitHub Plugin] |
||
− | ** Note |
||
+ | * [https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Authorization+Strategy+Plugin Matrix Authorization Strategy Plugin] (Or another authentication/authorization plugin) |
||
+ | |||
+ | * [https://wiki.jenkins-ci.org/display/JENKINS/Throttle+Concurrent+Builds+Plugin Throttle Concurrent Builds Plugin] |
||
+ | |||
+ | * [https://wiki.jenkins-ci.org/display/JENKINS/Build+User+Vars+Plugin Build User Vars Plugin] |
||
+ | ** Select ''Set Jenkins user build variables'' when configuring the jenkins job |
||
+ | |||
+ | * [https://wiki.jenkins-ci.org/display/JENKINS/Discard+Old+Build+plugin Discard Old Build Plugin] |
||
+ | |||
+ | == Throttle == |
||
+ | Go to '''Jenkins -> Manage Jenkins -> Configure System''' and under the '''Throttle Concurrent Builds''', add a category (MAIN for instance) with 1 Maximum Total Concurrent Builds and 1 Maximum Concurrent Builds Per Node. |
||
+ | |||
+ | Every Jenkins job MUST have this throttle setup. |
||
+ | |||
+ | ==Note== |
||
A quick note for the relationship between the TOKEN necessary for the lingotekcall back and security: |
A quick note for the relationship between the TOKEN necessary for the lingotekcall back and security: |
||
− | 1) |
+ | 1) The plugin is Build Authorization Token Root Plugin, https://wiki.jenkins-ci.org/display/JENKINS/Build+Token+Root+Plugin |
− | + | It must be installed. |
|
However, if no security is set, jobs cannot be triggered remotely using a TOKEN!!! |
However, if no security is set, jobs cannot be triggered remotely using a TOKEN!!! |
||
− | So |
+ | So ... |
− | 2) Make sure security is set. The typical one is first set under Configure Global Security for 'Matrix Security' and 'Using Jenkins Own Database'. |
+ | 2) Make sure security is set. The typical one is first set under Configure Global Security in Manage Jenkins for 'Matrix Security' and 'Using Jenkins Own Database'. |
Once this is set (as opposed to anonymous everything), one can then use the Build Authorization Token Root in the lingotekcall job: Set the Token to 'LINGOSQUARE' |
Once this is set (as opposed to anonymous everything), one can then use the Build Authorization Token Root in the lingotekcall job: Set the Token to 'LINGOSQUARE' |
||
+ | |||
+ | == Next Step == |
||
+ | [[Localyzer Jenkins Jobs]] |
Latest revision as of 15:21, 30 November 2021
Set up Jenkins Plugins
You setup the plugins used by LRM by installing the plugins from the Jenkins interface.
The Jenkins interface
The following Jenkins plugins are required. To see what plugins are installed, go to Jenkins -> Manage Jenkins -> Manage Plugins and select the Installed tab.
- Matrix Authorization Strategy Plugin (Or another authentication/authorization plugin)
- Build User Vars Plugin
- Select Set Jenkins user build variables when configuring the jenkins job
Throttle
Go to Jenkins -> Manage Jenkins -> Configure System and under the Throttle Concurrent Builds, add a category (MAIN for instance) with 1 Maximum Total Concurrent Builds and 1 Maximum Concurrent Builds Per Node.
Every Jenkins job MUST have this throttle setup.
Note
A quick note for the relationship between the TOKEN necessary for the lingotekcall back and security:
1) The plugin is Build Authorization Token Root Plugin, https://wiki.jenkins-ci.org/display/JENKINS/Build+Token+Root+Plugin It must be installed. However, if no security is set, jobs cannot be triggered remotely using a TOKEN!!! So ...
2) Make sure security is set. The typical one is first set under Configure Global Security in Manage Jenkins for 'Matrix Security' and 'Using Jenkins Own Database'. Once this is set (as opposed to anonymous everything), one can then use the Build Authorization Token Root in the lingotekcall job: Set the Token to 'LINGOSQUARE'