Jenkins (software)

Last updated
Jenkins
Original author(s) Kohsuke Kawaguchi [1]
Initial release2 February 2011 (2011-02-02) [2]
Stable release
2.436 [3]   OOjs UI icon edit-ltr-progressive.svg / 12 December 2023;28 days ago (12 December 2023)
Repository
Written in Java
Platform Java 11, Java 17
Type Continuous delivery
License MIT License [4] [5]
Website www.jenkins.io   OOjs UI icon edit-ltr-progressive.svg

Jenkins is an 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.

Contents

History

The Jenkins project was originally named Hudson , and was renamed in 2011 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]

Around 2007 Hudson became known as a better alternative to Cruise Control and other open-source build-servers. [1] [9] At the JavaOne conference in May 2008 the software won the Duke's Choice Award in the Developer Solutions category. [10]

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. [11] 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. [12]

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, [13] each claiming the other was the fork. As of June 2019, the Jenkins organization on GitHub had 667 project members and around 2,200 public repositories, [14] compared with Hudson's 28 project members and 20 public repositories with the last update in 2016. [15]

In 2011, creator Kohsuke Kawaguchi received an O'Reilly Open Source Award for his work on the Hudson/Jenkins project. [16]

On April 20, 2016, version 2 was released with the Pipeline plugin enabled by default. [17] 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, [18] with support for different cloud providers including AWS EKS among others. [19]

Builds

Builds can be triggered by various means, for example:

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. [20] ) 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. [21] Jenkins will send emails to the specified recipients whenever a certain important event occurs, such as:

  1. Failed build.
  2. Unstable build.
  3. Successful build after a failed build, indicating that a crisis is over.
  4. 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. [22]

Monitoring external jobs

Adds the ability to monitor the result of externally executed jobs. [23]

SSH agents

This plugin allows managing agents (formerly known as slaves) [24] running on *nix machines over SSH. [25] It adds a new type of agent launch method. This launch method will

  1. Open a SSH connection to the specified host as the specified username,
  2. Check the default version of Java for that user,
  3. [not implemented yet] If the default version is not compatible with Jenkins's agent.jar, try to find a proper version of Java
  4. Once it has a suitable version of Java, copy the latest agent.jar via SFTP (falling back to scp if SFTP is not available),
  5. 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. [26]

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. [27]

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. [28]

Awards and recognition

See also

Related Research Articles

<span class="mw-page-title-main">Eclipse (software)</span> Software development environment

Eclipse is an integrated development environment (IDE) used in computer programming. It contains a base workspace and an extensible plug-in system for customizing the environment. It is the second-most-popular IDE for Java development, and, until 2016, was the most popular. Eclipse is written mostly in Java and its primary use is for developing Java applications, but it may also be used to develop applications in other programming languages via plug-ins, including Ada, ABAP, C, C++, C#, Clojure, COBOL, D, Erlang, Fortran, Groovy, Haskell, JavaScript, Julia, Lasso, Lua, NATURAL, Perl, PHP, Prolog, Python, R, Ruby, Rust, Scala, and Scheme. It can also be used to develop documents with LaTeX and packages for the software Mathematica. Development environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for C/C++, and Eclipse PDT for PHP, among others.

<span class="mw-page-title-main">IntelliJ IDEA</span> Integrated development environment

IntelliJ IDEA is an integrated development environment (IDE) written in Java for developing computer software written in Java, Kotlin, Groovy, and other JVM-based languages. It is developed by JetBrains and is available as an Apache 2 Licensed community edition, and in a proprietary commercial edition. Both can be used for commercial development.

Maven is a build automation tool used primarily for Java projects. Maven can also be used to build and manage projects written in C#, Ruby, Scala, and other languages. The Maven project is hosted by The Apache Software Foundation, where it was formerly part of the Jakarta Project.

<span class="mw-page-title-main">GlassFish</span> Application server project

GlassFish is an open-source Jakarta EE platform application server project started by Sun Microsystems, then sponsored by Oracle Corporation, and now living at the Eclipse Foundation and supported by Payara, Oracle and Red Hat. The supported version under Oracle was called Oracle GlassFish Server. GlassFish is free software and was initially dual-licensed under two free software licences: the Common Development and Distribution License (CDDL) and the GNU General Public License (GPL) with the Classpath exception. After having been transferred to Eclipse, GlassFish remained dual-licensed, but the CDDL license was replaced by the Eclipse Public License (EPL).

Notable issue tracking systems, including bug tracking systems, help desk and service desk issue tracking systems, as well as asset management systems, include the following. The comparison includes client-server application, distributed and hosted systems.

<span class="mw-page-title-main">Aptana</span> Text editor

Aptana, Inc. is a company that makes web application development tools for use with a variety of programming languages. Aptana's main products include Aptana Studio, Aptana Cloud and Aptana Jaxer.

The following tables list notable software packages that are nominal IDEs; standalone tools such as source-code editors and GUI builders are not included. These IDEs are listed in alphabetic order of the supported language.

<span class="mw-page-title-main">Hudson (software)</span> Continuous integration tool

Hudson is a discontinued continuous integration (CI) tool written in Java, which runs in a servlet container such as Apache Tomcat or the GlassFish application server. It supports SCM tools including CVS, Subversion, Git, Perforce, Clearcase and RTC, and can execute Apache Ant and Apache Maven based projects, as well as arbitrary shell scripts and Windows batch commands. The primary developer of Hudson was Kohsuke Kawaguchi, who worked for Sun Microsystems at the time. Released under the MIT License, Hudson is free software.

JSDoc is a markup language used to annotate JavaScript source code files. Using comments containing JSDoc, programmers can add documentation describing the application programming interface of the code they're creating. This is then processed, by various tools, to produce documentation in accessible formats like HTML and Rich Text Format. The JSDoc specification is released under CC BY-SA 3.0, while its companion documentation generator and parser library is free software under the Apache License 2.0.

Checkstyle is a static code analysis tool used in software development for checking if Java source code is compliant with specified coding rules.

This is a compendium of continuous integration software that supports a software engineering practice, continuous integration, in which developers' changes are immediately tested and reported when they are added to the mainline code base. The comparison of various continuous integration tools is done on the basis of platform, license, builders and Integration IDEs.

<span class="mw-page-title-main">Acquisition of Sun Microsystems by Oracle Corporation</span> Agreement announced in 2009 and completed in 2010

The acquisition of Sun Microsystems by Oracle Corporation was completed on January 27, 2010. After the acquisition was completed, Oracle, only a software vendor prior to the merger, owned Sun's hardware product lines, such as SPARC Enterprise, as well as Sun's software product lines, including the Java programming language.

BuildHive was a free cloud-hosted continuous integration service for GitHub projects, based on Jenkins.

Java code coverage tools are of two types: first, tools that add statements to the Java source code and require its recompilation. Second, tools that instrument the bytecode, either before or during execution. The goal is to find out which parts of the code are tested by registering the lines of code executed when running a test.

iDempiere Community Powered Enterprise. Full Open Source Business Suite

iDempiere. Community Powered Enterprise, also known as OSGi + ADempiere, is an open source Enterprise Resource Planning (ERP) software that is fully navigable on PCs, tablets and smartphones, it also has customer relationship management (CRM) and supply chain management (SCM) functions. It is in contrast to proprietary or most other open source ERP solutions driven only by a community of supporters.

<span class="mw-page-title-main">Apache Mesos</span> Software to manage computer clusters

Apache Mesos is an open-source project to manage computer clusters. It was developed at the University of California, Berkeley.

<span class="mw-page-title-main">Kohsuke Kawaguchi</span> Jenkins creator and computer programmer

Kohsuke Kawaguchi is a computer programmer who is best known as the creator of the Jenkins software project. While working at Sun Microsystems, he was the primary developer of the Hudson project. He is also the recipient of the 2011 O'Reilly Open Source Award for his work on the Jenkins project.

<span class="mw-page-title-main">DBeaver</span> Multi-platform database administration software

DBeaver is a SQL client software application and a database administration tool. For relational databases it uses the JDBC application programming interface (API) to interact with databases via a JDBC driver. For other databases (NoSQL) it uses proprietary database drivers. It provides an editor that supports code completion and syntax highlighting. It provides a plug-in architecture that allows users to modify much of the application's behavior to provide database-specific functionality or features that are database-independent. This is a desktop application written in Java and based on Eclipse platform.

References

  1. 1 2 Dyer, Dan. "Why are you still not using Hudson?" . Retrieved 2008-05-21.
  2. Jenkins 1.396 released Archived 2018-12-08 at the Wayback Machine , The first release of Jenkins is posted, Kohsuke Kawaguchi
  3. "Release 2.436". 12 December 2023. Retrieved 19 December 2023.
  4. "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.
  5. Kawaguchi, Kohsuke; et al. "Use Hudson: License". Archived from the original on February 7, 2009. Retrieved January 30, 2011.
  6. "About Jenkins". Eclipse Wiki: Jenkins. Retrieved 6 August 2017.
  7. "About Jenkins". Wayback Machine: Eclipse Wiki, first available on 6 August 2017. Archived from the original on 4 September 2018. Retrieved 3 September 2018.
  8. 1 2 "About Jenkins". Eclipse Wiki history.
  9. Fredrick, Jeffrey. "What is the difference between Hudson and CruiseControl for Java projects?". Stack Overflow. Retrieved January 17, 2011.
  10. 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.
  11. Rodrigues, Savio (December 3, 2010). "Oracle's open source missteps continue with Hudson project". InfoWorld. Retrieved May 31, 2018.
  12. Proffitt, Brian (February 2, 2011). "Hudson devs vote for name change; Oracle declares fork". ITWorld. Retrieved May 31, 2018.
  13. Krill, Paul (May 4, 2011). "Oracle hands Hudson to Eclipse, but Jenkins fork seems permanent". InfoWorld. Retrieved May 31, 2018.
  14. "Jenkins organization on GitHub". GitHub . Retrieved May 31, 2018.
  15. "Hudson organization on Github". GitHub . Retrieved May 31, 2018.
  16. Morris, Richard (July 17, 2012). "Kohsuke Kawaguchi: Geek of the Week" . Retrieved May 31, 2018.
  17. "What's New in Jenkins 2.0". August 24, 2016.
  18. "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.
  19. "Continuous Delivery with Amazon EKS and Jenkins X". Amazon Web Services. November 7, 2018. Archived from the original on May 6, 2019. Retrieved November 23, 2018.
  20. "Plugins". wiki.jenkins-ci.org.
  21. "Mailer - Jenkins - Jenkins Wiki". wiki.jenkins.io. Retrieved November 26, 2017.
  22. "Credentials Plugin - Jenkins - Jenkins Wiki". wiki.jenkins-ci.org. Retrieved November 26, 2017.
  23. "Monitoring external jobs - Jenkins - Jenkins Wiki". wiki.jenkins.io. Retrieved November 26, 2017.
  24. "Jenkins source code". GitHub. Retrieved 2018-05-19.
  25. "SSH Build Agent - Jenkins Plugin". plugins.jenkins.io. Retrieved June 12, 2020.
  26. "Javadoc Plugin - Jenkins - Jenkins Wiki". wiki.jenkins.io. Retrieved November 26, 2017.
  27. "Generate and publish edoc in Jenkins using Javadoc plugin | Erlanger".
  28. "Securing Jenkins". jenkins.io. Retrieved 2016-09-13.
  29. 1 2 "Awards - Jenkins - Jenkins Wiki". wiki.jenkins-ci.org. Retrieved 2016-09-13.