Jenkins Plugin Details
Plugin Version: 1.0.1
Overview
Jenkins is a free and open source automation server written in Java. Jenkins helps to automate the non-human part of the software development process, with continuous integration and facilitating technical aspects of continuous delivery. It is a server-based system that runs in servlet containers such as Apache Tomcat.It supports version control tools, including AccuRev, CVS, Subversion, Git, Mercurial, Perforce, TD/OMS, ClearCase and RTC, and can execute Apache Ant, Apache Maven and sbt based projects as well as arbitrary shell scripts and Windows batch commands.
Docker Information:
More information can be found at Jenkins
Version Supported:
This plugin was developed and tested against version present on Jenkins 2.190
Jenkins Configuration:
Jenkins can be used with and without security by simply cheking/uncheking the checkbox “Enable Security” under Manage Jenkins > Configure Global Security.
In case the “Enable Security” is unchecked then :- Make sure “Prevent Cross Site Request Forgery exploits” is checked under “CSRF Protection”
- Check the “Default Crumb Issuer”.
- ExecuteJob
Plugin Operation:
Input parameter(s):
Parameter | Is Mandatory | Help Text |
Jenkins Url | true | Jenkins instance Url. Ex – http://localhost:8090 |
Username | false | Jenkins login username. |
Password | false | Jenkins login password. |
Job Name | false | Valid jenkins job name which needs to be executed. |
Parameter List | true | Parameters required to execute the job (If Any).Use ampersand(&) as a separator in case multiple parameter exists. Example : myparam1=myparam_value1&myparam2=myparam_value2 |
Output parameter(s):
Parameter | Help Text |
ConsoleOutput | Console output of the job in execution. |
JenkinsStatus | Final ExecuteJob job status. |
Pass/Fail Condition:
Status | Condition |
Passed | If the job in jenkins get passed and no error occurs in fetching data from jenkins. |
Failed | If the job execution in jenkins get failed or any error occurs in feching the result from jenkins. |
Disclaimers:
- The job execution result depends on jenkins API response.
- Jenkins uses jenkins-crumb for authentication. Above mention settings must be set to achieve the jenkins functionality.
- If security is enabled in jenkins username and pasword must be provided during job configuration else keep these field blank.
Release Details:
Jenkins: 1.0.1
Initial version with basic functionalities.
Initial version with basic functionalities.