This article may require cleanup to meet Wikipedia's quality standards. The specific problem is: its references have been severely damaged. (April 2017) (Learn how and when to remove this template message)
|Initial release||2 February 2011|
2.107.2 / 11 April 2018
Jenkins is an 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, ClearCase and RTC, and can execute Apache Ant, Apache Maven and sbt based projects as well as arbitrary shell scripts and Windows batch commands. The creator of Jenkins is Kohsuke Kawaguchi. Released under the MIT License, Jenkins is free software.
Builds can be triggered by various means, for example by commit in a version control system, by scheduling via a cron-like mechanism and by requesting a specific build URL. It can also be triggered after the other builds in the queue have completed. Jenkins functionality can be extended with plugins.
Around 2007 Hudson became known as a better alternative to CruiseControl and other open-source build-servers. At the JavaOne conference in May 2008 the software won the Duke's Choice Award in the Developer Solutions category.
During November 2010, an issue arose in the Hudson community with respect to the infrastructure used, which grew to encompass questions over the stewardship and control by Oracle. Negotiations between the principal project contributors and Oracle took place, and although there were many areas of agreement a key sticking point was the trademarked name "Hudson," after Oracle claimed the right to the name and applied for a trademark in December 2010. As a result, on January 11, 2011, a call for votes was made to change the project name from "Hudson" to "Jenkins." The proposal was overwhelmingly approved by community vote on January 29, 2011, creating the Jenkins project.
On February 1, 2011, Oracle said that they intended to continue development of Hudson, and considered Jenkins a fork rather than a rename. Jenkins and Hudson therefore continue as two independent projects, each claiming the other is the fork. As of December 2013, the Jenkins organisation on GitHub had 567 project members and around 1,100 public repositories, compared with Hudson's 32 project members and 17 public repositories.
On April 20, 2016 version 2 was released with the Pipeline plugin enabled by default. The plugin allows for writing build instructions in Apache Groovy.
Plugins have been released for Jenkins that extend its use to projects written in languages other than Java. Plugins are available for integrating Jenkins with most version control systems and bug databases. Many build tools are supported via their respective plugins. Plugins can also change the way Jenkins looks or add new functionality. There are a set of plugins dedicated for the purpose of unit testing that generate test reports in various formats (for example JUnit bundled with Jenkins, MSTest, NUnit etc.) and automated testing which supports automated tests. Builds can generate test reports in various formats supported by plugins (JUnit support is currently bundled) and Jenkins can display the reports and generate trends and render them in the GUI.
Allows configuring email notifications for build results. Jenkins will send emails to the specified recipients whenever a certain important event occurs, such as:
- Failed build.
- Unstable build.
- Successful build after a failed build, indicating that a crisis is over
- Unstable build after a successful one, indicating that there's a regression
Allows storing credentials in Jenkins. Provides a standardized API for other plugins to store and retrieve different types of credentials.
Monitoring external jobs
Adds the ability to monitor the result of externally executed jobs.
- Open a SSH connection to the specified host as the specified username,
- Check the default version of java for that user,
- [not implemented yet] If the default version is not compatible with Jenkins's agent.jar, try to find a version of java that is,
- Once it has a suitable version of java, copy the latest agent.jar via SFTP (falling back to scp if SFTP is not available),
- Start the agent process.
This plugin adds Javadoc support to Jenkins. This functionality used to be a part of the core, but as of Jenkins 1.431, it was split off into separate plugins.
The plugin enables the selection of "Publish Javadoc" as Post-build action, specifying the directory where the Javadoc is to be gathered and if retention is expected for each successful build.
Jenkins' security depends on two factors: access control and protection from external threats. Access control can be customized via two ways, user authentication and authorization. Protection from external threats such as CSRF attacks and malicious builds is supported as well.
Awards and recognition
- InfoWorld Bossie Award (Best of Open Source Software Award) in 2011.
- Received Geek Choice Award in 2014.
- Jenkins 1.396 released, The first release of Jenkins is posted, Kohsuke Kawaguchi
jenkinsci/jenkins(source code repository). GitHub (published 2011-09-11). 2008-02-12. Archived from the original on 2016-10-18. Retrieved 2016-10-18.
- Dan Dyer. "Why are you still not using Hudson?". Retrieved 2008-05-21.
- Kawaguchi, Kohsuke; et al. "Use Hudson: License". Archived from the original on February 7, 2009. Retrieved January 30, 2011.
- Kawaguchi, Kohsuke. "Hudson" (PDF). Archived from the original (PDF) on 1 July 2014. Retrieved 28 June 2013.
- Jeffrey Fredrick. [user name]. "What is the difference between Hudson and CruiseControl for Java projects?". Stack Overflow. Retrieved January 17, 2011.
- Duboscq, Geneviève (2008). "2008 JavaOne Conference: Duke's Choice Awards Winners for 2008". 2008 Java One Conference. java.sun.com. Retrieved May 21, 2008.
- "Who's driving this thing?". Retrieved January 31, 2011.
- "Jenkins organisation on GitHub". Retrieved January 22, 2013.
Jenkins (jenkinsci). Joined on Jul 21, 2009. 1.1k public repos. 567 members
- "Plugins - Jenkins - Jenkins Wiki".
- "Mailer - Jenkins - Jenkins Wiki". wiki.jenkins.io. Retrieved November 26, 2017.
- "Credentials Plugin - Jenkins - Jenkins Wiki". wiki.jenkins-ci.org. Retrieved November 26, 2017.
- "Monitoring external jobs - Jenkins - Jenkins Wiki". wiki.jenkins.io. Retrieved November 26, 2017.
- "Jenkins source code". GitHub. Retrieved 2018-05-19.
- "SSH Slaves plugin - Jenkins - Jenkins Wiki". wiki.jenkins.io. Retrieved November 26, 2017.
- "Javadoc Plugin - Jenkins - Jenkins Wiki". wiki.jenkins.io. Retrieved November 26, 2017.
- "Securing Jenkins". jenkins.io. Retrieved 2016-09-13.
- "Awards - Jenkins - Jenkins Wiki". wiki.jenkins-ci.org. Retrieved 2016-09-13.
|MediaWiki has documentation related to: Jenkins|
- Official website
- Moser, Manfred; O'Brien, Tim (2011-11-25). Hudson free book (PDF). Oracle, Inc.
- Kohsuke Kawaguchi (2011-02-08). "Jenkins creator Kohsuke Kawaguchi on The Changelog podcast talking about the project origin and name change". the changelog. Retrieved 2016-03-03.
- Kohsuke Kawaguchi (2015-02-15). "7 Ways to Optimize Jenkins/Hudson (by its founder)" (PDF). CloudBees. Archived from the original (PDF) on 2011-10-27. Retrieved 2016-03-03.