Jenkins (software)
![]() | |
![]() | |
Original author(s) | Kohsuke Kawaguchi |
---|---|
Initial release | 2 February 2011[1] |
Stable release | 2.240[2]
/ 8 June 2020 |
Repository | |
Written in | Java |
Platform | Java 8, Java 11 |
Type | Continuous delivery |
License | MIT License[3] |
Website | www![]() |
Jenkins is a free and open source automation server. It helps automate the parts of software development related to building, testing, and deploying, facilitating continuous integration and 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.[4] Released under the MIT License, Jenkins is free software.[5]
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.
The Jenkins project was originally named Hudson, and was renamed after a dispute with Oracle, which had forked the project and claimed rights to the project name. The Oracle fork, Hudson, continued to be developed for a time before being donated to the Eclipse Foundation. Oracle's Hudson is no longer maintained[6][7] and was announced as obsolete in February 2017.[8]
History
Jenkins was originally developed as the Hudson project. Hudson's creation started in summer[when?] of 2004 at Sun Microsystems. It was first released in java.net in Feb. 2005.[9]
Around 2007 Hudson became known as a better alternative to Cruise Control and other open-source build-servers.[4][10] At the JavaOne conference in May 2008 the software won the Duke's Choice Award in the Developer Solutions category.[11]
During November 2010, after the acquisition of Sun Microsystems by Oracle, 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.[12] 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.[13]
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 continued as two independent projects,[14] each claiming the other is the fork. As of June 2019, the Jenkins organization on GitHub had 667 project members and around 2,200 public repositories,[15] compared with Hudson's 28 project members and 20 public repositories with the last update in 2016.[16]
In 2011, creator Kohsuke Kawaguchi received an O'Reilly Open Source Award for his work on the Hudson/Jenkins project.[17]
On April 20, 2016 version 2 was released with the Pipeline plugin enabled by default.[18] The plugin allows for writing build instructions using a domain specific language based on Apache Groovy.
Jenkins replaced Hudson since February 8, 2017 in Eclipse.[8]
In March 2018 Jenkins X software project for Kubernetes was publicly presented,[19] with support for different cloud providers including AWS EKS among others.[20]
Plugins
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.[21]) and automated testing that 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.
Mailer
Allows configuring email notifications for build results.[22] 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
Credentials
Allows storing credentials in Jenkins. Provides a standardized API for other plugins to store and retrieve different types of credentials.[23]
Monitoring external jobs
Adds the ability to monitor the result of externally executed jobs.[24]
SSH agents
This plugin allows managing agents (formerly known as slaves)[25] running on *nix machines over SSH.[26] It adds a new type of agent launch method. This launch method will
- 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 proper version of Java
- 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.
Javadoc
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.[27]
The plugin enables the selection of "Publish Javadoc" as a post-build action, specifying the directory where the Javadoc is to be gathered and if retention is expected for each successful build.[28]
Online explanation
Jenkins can be used to schedule and monitor the running of a shell script via user interface instead of command prompt .
Security
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.[29]
Awards and recognition
- InfoWorld Bossie Award (Best of Open Source Software Award) in 2011.[30]
- Received Geek Choice Award in 2014.[30]
See also
References
- ^ Jenkins 1.396 released, The first release of Jenkins is posted, Kohsuke Kawaguchi
- ^ "Release list". github.com. Retrieved 2020-06-08.
- ^ "LICENSE.txt".
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. - ^ a b 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.
- ^ "About Jenkins". Eclipse Wiki: Jenkins. Retrieved 6 August 2017.
- ^ "About Jenkins". Wayback Machine: Eclipse Wiki, first available on 6 August 2017. Archived from the original on 4 September 2018. Retrieved 3 September 2018.
- ^ a b "About Jenkins". Eclipse Wiki history.
- ^ 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.
{{cite web}}
:|author=
has generic name (help) - ^ 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.
- ^ Rodrigues, Savio (December 3, 2010). "Oracle's open source missteps continue with Hudson project". InfoWorld. Retrieved May 31, 2018.
- ^ Proffitt, Brian (February 2, 2011). "Hudson devs vote for name change; Oracle declares fork". ITWorld. Retrieved May 31, 2018.
- ^ Krill, Paul (May 4, 2011). "Oracle hands Hudson to Eclipse, but Jenkins fork seems permanent". InfoWorld. Retrieved May 31, 2018.
- ^ "Jenkins organization on GitHub". Retrieved May 31, 2018.
- ^ "Hudson organization on Github". Retrieved May 31, 2018.
- ^ Morris, Richard (July 17, 2012). "Kohsuke Kawaguchi: Geek of the Week". Retrieved May 31, 2018.
- ^ "What's New in Jenkins 2.0". August 24, 2016.
- ^ "Introducing Jenkins X: a CI/CD solution for modern cloud applications on Kubernetes". Introducing Jenkins X: a CI/CD solution for modern cloud applications on Kubernetes.
- ^ "Continuous Delivery with Amazon EKS and Jenkins X". Amazon Web Services. November 7, 2018.
- ^ "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 Build Agent - Jenkins Plugin". plugins.jenkins.io. Retrieved June 12, 2020.
- ^ "Javadoc Plugin - Jenkins - Jenkins Wiki". wiki.jenkins.io. Retrieved November 26, 2017.
- ^ "Generate and publish edoc in Jenkins using Javadoc plugin | Erlanger".
- ^ "Securing Jenkins". jenkins.io. Retrieved 2016-09-13.
- ^ a b "Awards - Jenkins - Jenkins Wiki". wiki.jenkins-ci.org. Retrieved 2016-09-13.
External links
![](http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/MediaWiki-2020-icon.svg/40px-MediaWiki-2020-icon.svg.png)
- 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.
- Assaf Lavie (2017-03-01). "Building Docker with Jenkins". cloudshare.com.
- ^ Nimavat, Karishma. "Tutorial on How To Build Jenkins Pipeline For Selenium Automated Testing". How To Build Jenkins Pipeline For Selenium Automated Testing?. NEX Software.