Skip to content

continuous blog - the official hudson weblog
Syndicate content
Updated: 3 hours 54 min ago

Jenkins 2.0 is here!

Tue, 04/26/2016 - 02:00
Over the past 10 years, Jenkins has really grown to a de-facto standard tool that millions of people use to handle automation in software development and beyond. It is quite remarkable for a project that originally started as a hobby project under a different name. I’m very proud. Around this time last year, we’ve celebrated 10 years, 1000 plugins, and 100K installations. That was a good time to retrospect, and we started thinking about the next 10 years of Jenkins and what’s necessary to meet that challenge. This project has long been on a weekly "train" release model, so it was useful to step back and think about...
Categories: Open Source

Possible Jenkins Project Infrastructure Compromise

Fri, 04/22/2016 - 02:00
Last week, the infrastructure team identified the potential compromise of a key infrastructure machine. This compromise could have taken advantage of, what could be categorized as, an attempt to target contributors with elevated access. Unfortunately, when facing the uncertainty of a potential compromise, the safest option is to treat it as if it were an actual incident, and react accordingly. The machine in question had access to binaries published to our primary and secondary mirrors, and to contributor account information. Since this machine is not the source of truth for Jenkins binaries, we verified that the files distributed to Jenkins users: plugins, packages, etc, were not tampered with. We...
Categories: Open Source

Pipeline 2.x plugins

Fri, 04/22/2016 - 02:00
Those of you who routinely apply all plugin updates may already have noticed that the version numbers of the plugins in the Pipeline suite have switched to a 2.x scheme. Besides aligning better with the upcoming Jenkins 2.0 core release, the plugins are now being released with independent lifecycles. “Pipeline 1.15” (the last in the 1.x line) included simultaneous releases of a dozen or so plugins with the 1.15 version number (and 1.15+ dependencies on each other). All these plugins were built out of a single workflow-plugin repository. While that was convenient in the early days for prototyping wide-ranging changes, it...
Categories: Open Source

Making your own DSL with plugins, written in Pipeline script

Thu, 04/21/2016 - 02:00
In this post I will show how you can make your own DSL extensions and distribute them as a plugin, using Pipeline Script. A quick refresher Pipeline has a well kept secret: the ability to add your own DSL elements. Pipeline is itself a DSL, but you can extend it. There are 2 main reasons I can think you may want to do this: You want to reduce boilerplate by encapsulating common snippets/things you do in one DSL statement. You want to provide a DSL that provides a prescriptive way that your builds work - uniform across your organisations Jenkinsfiles. A DSL could look as simple as acmeBuild { ...
Categories: Open Source

The Need For Jenkins Pipeline

Fri, 04/15/2016 - 02:00
This is a cross-post of an article authored by Viktor Farcic on the CloudBees blog. Viktor is also the author of The DevOps 2.0 Toolkit, which explores Jenkins, the Pipeline plugin, and the ecosystem around it in much more detail. Over the years, Jenkins has become the undisputed ruler among continuous integration (CI), delivery and deployment (CD) tools. It, in a way, defined the CI/CD processes we use today. As a result of its leadership, many other products have tried to overthrow it from its position. Among others, we got Bamboo and Team City attempting to get a piece of the market. At the same time, new products emerged with a service...
Categories: Open Source

Registration is Open for Jenkins World 2016!

Thu, 04/14/2016 - 02:00
This is a guest post by Alyssa Tong. Alyssa works for CloudBees, helping to organize Jenkins community events around the world. Jenkins World 2016 will be the largest gathering of Jenkins users in the world. This event will bring together Jenkins experts, continuous delivery thought leaders and the ecosystem offering complementary technologies for Jenkins. Join us September 13-15, 2016 in Santa Clara, California to learn and explore, network face-to-face and help shape the next evolution of Jenkins development and solutions for DevOps. Registration for Jenkins World 2016 is now live. Take advantage of the Super Early Bird rate of $399 (available until July 1st). And don’t...
Categories: Open Source

Replay a Pipeline with script edits

Thu, 04/14/2016 - 02:00
This is a cross-post of an article authored by Pipeline plugin maintainer Jesse Glick on the CloudBees blog. For those of you not checking their Updates tab obsessively, Pipeline 1.14 [up to 2.1 now] was released a couple of weeks ago and I wanted to highlight the major feature in this release: JENKINS-32727, or replay. Some folks writing "Jenkinsfiles" in the field had grumbled that it was awkward to develop the script incrementally, especially compared to jobs using inline scripts stored in the Jenkins job configuration: to try a change to the script, you had to edit Jenkinsfile in SCM, commit it (perhaps to a branch), and then go back to Jenkins to...
Categories: Open Source

Google Summer of Code. Call for Mentors

Mon, 04/11/2016 - 02:00
As you probably know, Jenkins project has been accepted to Google Summer of Code 2016. During last month we were working with students in order to discuss their project ideas and to review their application drafts. Thanks again to all students and mentors for your hard work during about ten office hours and dozens of other calls/chats! Current status We have successfully handled the student application period We have received a bunch of good project proposals (mentors cannot disclose the number) We have done the preliminary filtering of applications GSoC mentors and organization admins have prepared the project slot application draft Currently we are looking for mentors. We have a...
Categories: Open Source

Security fixes in Script Security Plugin and Extra Columns Plugin

Mon, 04/11/2016 - 02:00
The Script Security Plugin and the Extra Columns Plugin were updated today to fix medium-severity security vulnerabilities. For detailed information about the security content of these updates, see the security advisory. Subscribe to the jenkinsci-advisories mailing list to receive important notifications related to Jenkins security....
Categories: Open Source

Run Your API Tests Continuously with Jenkins and DHC

Mon, 04/11/2016 - 02:00
This is a guest post by Guillaume Laforge. Well known for his contribution to the Apache Groovy project, Guillaume is also the "Product Ninja and Advocate" of Restlet, a company focusing on Web APIs: with DHC (an API testing client), Restlet Studio (an API designer), APISpark (an API platform in the cloud), and the Restlet Framework open source project for developing APIs. Modern mobile apps, single-page web sites and applications, are more and more relying on Web APIs, as the nexus of the interaction between the frontend and the backend services. Web APIs are also central to third-party integration, when you want to share your services with others, or when you need...
Categories: Open Source

Automating test runs on hardware with Pipeline as Code

Thu, 04/07/2016 - 02:00
In addition to Jenkins development, during last 8 years I’ve been involved into continuous integration for hardware and embedded projects. At JUC2015/London I have conducted a talk about common automation challenges in the area. In this blog post I would like to concentrate on Pipeline (formerly known as Workflow), which is a new ecosystem in Jenkins that allows implementing jobs in a domain specific language. It is in the suggested plugins list in the upcoming Jenkins 2.0 release. The first time I tried Pipeline two and half years ago, it unfortunately did not work for my use-cases at all. I was very disappointed but tried it...
Categories: Open Source

Jenkins Community Survey Results

Thu, 04/07/2016 - 02:00
This is a guest post by Brian Dawson at CloudBees, where he works as a DevOps Evangelist responsible for developing and sharing continuous delivery and DevOps best practices. He also serves as the CloudBees Product Marketing Manager for Jenkins. Last fall CloudBees asked attendees at the Jenkins User Conference – US West (JUC), and other in the Jenkins community to take a survey. Almost 250 people did – and thanks to their input, we have results which provided interesting insights into how Jenkins is being used. Back in 2012, at the time of the last community survey, 83% of respondents felt that Jenkins was mission-critical. By 2015, the...
Categories: Open Source

Jenkins 2.0 Release Candidate available!

Thu, 04/07/2016 - 02:00
Those who fervently watch the jenkinsci-dev@ list, like I do, may have caught Daniel Beck's email today which quietly referenced a significant milestone on the road to 2.0 which has been reached: the first 2.0 release candidate is here! The release candidate process, in short, is the final stabilization and testing period before the final release of Jenkins 2.0. If you have the cycles to help test, please download the release candidate and give us your feedback as soon as possible! The release candidate process also means that changes targeting release after 2.0 can start landing in the master branch, laying the groundwork 2.1 and beyond. I pushed the merge to master. So...
Categories: Open Source

March 2016 St. Petersburg Jenkins Meetup Report

Fri, 04/01/2016 - 02:00
On March 10th we have conducted the second Jenkins meetup in Saint Petersburg, Russia. The meetup topic was "Jenkins and Continuous Delivery". We had 3 talks addressing various aspects of Jenkins usage in this area. Talks Introduction slides [ru] Jenkins 2.0 and Pipeline-as-Code Speaker: Oleg Nenashev, CloudBees Presentation (en) Presentation (ru) Continuous Delivery for Documentation Speaker: Stanislav Ovchar, Motorola Solutions Presentation (ru) Continuous Delivery with Jenkins at ZeroTurnaround Speaker: Sergei Egorov, ZeroTurnaround Presentation (en) We also had a long Jenkins afterparty. Starting from the next meetup we hope to make this part more official. Links St. Petersburg Meetup page (follow the events here) Event page on the Yandex.Events portal St. Petersburg Meetup Twitter Jenkins RU Twitter Jenkins RU Gitter...
Categories: Open Source

Important notice regarding usage statistics

Wed, 03/30/2016 - 02:00
A bug was introduced in Jenkins versions 1.645 and 1.642.2 which caused Jenkins to send anonymous usage statistics, even if the administrator opted-out of reporting usage data in the Jenkins web UI. If you are running one of the affected versions, the best/easiest solution is to upgrade. The bug does not affect Jenkins 1.653 or newer, or Jenkins LTS 1.642.4 or newer. If you cannot upgrade, it is possible to immediately disable submission of usage statistics by running the following script in "Manage Jenkins » Script Console": hudson.model.UsageStatistics.DISABLED = true This will immediately disable usage data submission until you restart Jenkins. To make this permanent, change your Jenkins...
Categories: Open Source

Jenkins 2.0 beta released

Thu, 03/24/2016 - 02:00
We released the Jenkins 2.0 beta earlier today. Download it here and try it! Besides a number of bug fixes and minor improvements, the following changes are new since the last alpha preview release: Redesigned "New Item" page We redesigned the "New Item" page. Item types now have icons to be more visually distinctive. Additionally, item types can now define a category they belong to (such as "Project" or "Folder"). Once the complexity of the "New Item" page reaches a certain threshold, the item types will be grouped into categories to be easier to find. However, for now, it's unlikely that you will see...
Categories: Open Source

vJAM: Virtual Jenkins Area Meetup

Mon, 03/21/2016 - 02:00
Over the past few months, I’m happy to say, the number of Jenkins Area Meetups (JAMs) has grown tremendously! The excitement around JAMs has gotten us thinking about something larger, something more globally focused. That led us to create vJAM, an online Jenkins Area Meetup, where we can share what we’re learning together. The effort will be spear-headed by long time Jenkins contributor, R. Tyler Croy. The key goals for the Virtual Jenkins Area Meetup are: Connect the global Jenkins user and developer community. Help spread the latest and greatest best practices. Support other JAMs by offering another, broader, audience for speakers and organizers vJAM, originally inspired by Virtual JUG, will supplement local...
Categories: Open Source

Jenkins 2.0 community test fest!

Fri, 03/18/2016 - 02:00
The beta release of Jenkins 2.0 is rapidly approaching! The development team is working hard to find and squash as many bugs as possible, but do you know what would make that effort even more successful? You! A big part of Jenkins’s power lies in its extensive flexibility, but that flexibility poses challenges to testing. In short, it’s difficult for the core team to test in all the myriad environments and with all the different workflows that Jenkins users have. To give just one example, users of Jenkins on Windows often uncover Windows-specific issues that are missed during development. That’s where...
Categories: Open Source

Introducing Jenkins Certification

Tue, 03/15/2016 - 02:00
This is a guest post by Francois Dechery, he works at CloudBees managing Customer Engagement/Support, Consulting and Training. He is also leading the Jenkins Certification program at CloudBees which has been discussed in some of our previous (1, 2, 3) governance meetings. In the IT world, namely in software, "certification" is used in many different ways and for many different purposes. From very simple and light certifications to very heavy and complex ones. In the "light" category you can usually be certified on the basis of a short quiz at the end of an online training. At the other end of the spectrum, certifications are based on a proctored multiple-choice questionnaire-based exam and/or...
Categories: Open Source

Jenkins 2.0-alpha-3 Preview Build has been released!

Fri, 03/11/2016 - 02:00
We just published the new Jenkins 2.0-alpha-3 preview build. What’s new? Jenkins is now secure out of the box: Administrators previously had to set up authentication and authorization while Jenkins was accessible to anyone on the same network. Now, Jenkins is protected out of the box, so that it is always safe from unauthorized access. Plugin selection for setup: We refined the plugin selection on the setup dialog. You’ve always wondered why Jenkins does not install the Git Plugin by default? Now it does, along with a number of other plugins popular in the Jenkins community. We’re also including more plugins complementing the Pipeline plugin: The Pipeline Stage View plugin lets you quickly see...
Categories: Open Source