Skip to content

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

Converting Conditional Build Steps to Jenkins Pipeline

Thu, 01/19/2017 - 02:00
This is a guest post by Liam Newman, Technical Evangelist at CloudBees. Introduction With all the new developments in Jenkins Pipeline (and Declarative Pipeline on the horizon), it’s easy to forget what we did to create "pipelines" before Pipeline. There are number of plugins, some that have been around since the very beginning, that enable users to create "pipelines" in Jenkins. For example, basic job chaining worked well in many cases, and the Parameterized Trigger plugin made chaining more flexible. However, creating chained jobs with conditional behavior was still one of the harder things to do in Jenkins. The Conditional BuildStep plugin is a powerful tool that has allowed Jenkins users to write Jenkins jobs with complex...
Categories: Open Source

Jenkins Upgrades To Java 8

Tue, 01/17/2017 - 02:00
In the next few months, Jenkins will require Java 8 as its runtime. Back in last November, we discussed interesting statistics showing that Jenkins was now running Java 8 on a majority of its running instances. Timeline Here is how we plan to roll that baseline upgrade in the next few months. Now: Announce the intention publicly. April, 2017: Drop support for Java 7 in Jenkins weekly. With the current rhythm, that means 2.52 will most likely be the first weekly to require Java 8. June 2017: First LTS version requiring Java 8 is published. This should be something around 2.60.1. If you are still running Java 7, you will not be...
Categories: Open Source

SCM API turns 2.0 and what that means for you

Tue, 01/17/2017 - 02:00
Due to regressions discovered after release it is not recommended to upgrade the plugins listed below at this time. We are announcing the SCM API 2.0.x and Branch API 2.0.x release lines. Downstream of this there are also some great improvements to a number of popular plugins including: GitHub Branch Source BitBucket branch source Git Mercurial Pipeline Multibranch GitHub Organization Folders There are some gotcha’s that Jenkins administrators will need to be aware of. Always take a backup of your JENKINS_HOME before upgrading any plugins. We want to give you the whole story, but the take home message is this: When updating the SCM API and/or Branch API plugins to the 2.0.x release lines, if you have any of the GitHub Organization Folders, GitHub...
Categories: Open Source

Blue Ocean Dev Log: January Week #2

Fri, 01/13/2017 - 02:00
As we get closer to Blue Ocean 1.0, which is planned for the end of March, I figured it would be great to highlight some of the good stuff that has been going on. It’s been a busy-as-usual week as everyone comes back from vacation. A couple of new betas went out this week. Of note: input to Pipelines is now supported, a much asked for feature (see below) A new French translation Some optimisations (especially around reducing number of HTTP calls). We have started using gtmetrix.com to measure changes on dogfood to get some numbers around optimisations on the web tier. And a grab bag of other great bug fixes. Also a bunch...
Categories: Open Source

Declarative Pipeline Syntax Beta 2 release

Thu, 01/12/2017 - 02:00
This week, we released the second beta of the new Declarative Pipeline syntax, available in the Update Center now as version 0.8.1 of Pipeline: Model Definition. You can read more about Declarative Pipeline in the blog post introducing the first beta from December, but we wanted to update you all on the syntax changes in the second beta. These syntax changes are the last compatibility-breaking changes to the syntax before the 1.0 release planned for February, so you can safely start using the 0.8.1 syntax now without needing to change it when 1.0 is released. A full syntax reference is available on the wiki as well. Syntax Changes Changed "agent" configuration...
Categories: Open Source

Jenkins World 2017 Call for Papers is Open

Wed, 01/11/2017 - 02:00
The largest Jenkins event, Jenkins World is coming to San Francisco, California on August 28 - 31, 2017, at the Marriott Marquis. This conference will feature two days of hands-on training, workshops, and certification exams followed by two more days with five tracks of technical sessions from Jenkins and DevOps experts from around the world. Inspire your peers and colleagues by sharing your expertise and experience as one of the Jenkins World speakers. The Call for Papers is open, last day for submitted a proposal is March 5th, 2017. Compared to Jenkins World 2016, what’s new for 2017? Two tracks are now dedicated to "show and tell." These...
Categories: Open Source

Security warnings in Jenkins

Tue, 01/10/2017 - 02:00
Jenkins 2.40 was released earlier this week, and readers of the changelog will have noticed that it now includes the ability to show security warnings published by the configured update site. But what does that mean? In the past, we’ve notified users about security issues in Jenkins and in plugins through various means: Emails to the jenkinsci-advisories mailing list (which I recommend you subscribe to), blog posts, and, recently, emails to the oss-security mailing list. But I still wanted to increase the reach of our notifications, to make sure Jenkins admins are informed quickly about possible security problems on their instances. The logical next step was to...
Categories: Open Source

Learning plugin development by improving the LIFX notifier plugin

Tue, 01/10/2017 - 02:00
This is a cross post by Veaceslav Gaidarji, open source developer and contributor to the Jenkins and Bitrise projects. Some time ago I encountered a LIFX smart bulbs. These are the bulbs with a chip inside - 50% bulb, 50% chip. There are mobile applications for easy configuration and remote control of the bulb. Nothing special here, it simply works and is very convenient to have such bulbs in dormitory. Brilliant idea time 99% of ideas which come to our minds either were already implemented by someone else or they are useless. — Veaceslav Gaidarji And as it always happens, the developer inside me generated an idea which, as it always happens, was implemented...
Categories: Open Source

Thank you for an amazing 2016

Sat, 12/31/2016 - 02:00
I do not think it is an exaggeration to say: 2016 was the best year yet for the Jenkins project. Since the first commit in 2006, the project has reached a number of significant milestones in its ten years but we have never experienced the breadth of major milestones in such a short amount of time. From Jenkins 2 and Blue Ocean to the Google Summer of Code and Jenkins World, I wanted to take a moment and celebrate the myriad of accomplishments which couldn’t have happened without the help from everybody who participates in the Jenkins project. The 1,300+ contributors to the jenkinsci GitHub organization, the 4,000+ members of the !forum/jenkinsci-dev">developers mailing list, the 8,000+ members...
Categories: Open Source

Continuous Delivery with Jenkins and Puppet Enterprise

Tue, 12/20/2016 - 02:00
This is a guest post by Carl Caum, who works at Puppet and created the Puppet Enterprise Pipeline plugin. During PuppetConf 2016, myself and Brian Dawson from CloudBees announced the Puppet Enterprise plugin for Jenkins Pipeline. Let’s take a look at how the plugin makes it trivial to use Puppet to perform some or all of the deployment tasks in continuous delivery pipelines. Jenkins Pipeline introduced an amazing world where the definition for a pipeline is managed from the same version control repository as the code delivered by the pipeline. This is a powerful idea, and one I felt complemented Puppet’s automation strengths. I wanted to make it trivial to control...
Categories: Open Source

Announcing the beta of Declarative Pipeline Syntax

Mon, 12/19/2016 - 02:00
Last week we released version 0.7.1 of the Pipeline-Model-Defintion plugin and wanted to crown it as the official Beta version of the Declarative Pipeline syntax. Although it has been available in the update center since August, we continue to solidify the syntax. We feel this release is getting very close to the final version and should not change much before 1.0. However, it is still a Beta so further tweaks are possible. A release (0.8.0) is planned for early January 2017 which will finalize the syntax with the following changes: JENKINS-40524, JENKINS-40370, JENKINS-40462, JENKINS-40337 What is Declarative Pipeline? All the way back at Jenkins World in September, Andrew Bayer presented a sneak peak of a new syntax...
Categories: Open Source

Monthly JAM Recap - November 2016

Sat, 12/10/2016 - 02:00
As we near the end of the year, the number of November JAMs show that the Jenkins community isn’t slowing down for holiday season. We had a number of excellent events hosted around the world this November with plenty of great stories and presentations shared by the various members of the world-wide Jenkins community. Melbourne, Australia JAM Melbourne JAM leaders, Raisa and Bhuva hosted Blue Ocean for the inaugural meeting. Attendees learned the values of Blue Ocean, a project that rethinks the user experience of Jenkins, modeling and presenting the process of software delivery by surfacing information that is important to development teams with as few clicks as possible, while still staying true to...
Categories: Open Source

Upcoming December Jenkins Events

Fri, 12/09/2016 - 02:00
Happy Holidays! A special shout out to all JAM leaders who continue to keep local activities going in December. Online JAM December 14 | Live Demos: Pipeline, Git, and Blue Ocean North America December 7 | Seattle JAM: Jenkins at Microsoft December 14 | Los Angeles JAM: Jenkins Days December 14 | Guadalajara JAM: Jenkins & Docker Australia December 14 | Melbourne JAM: Meeting at AWS Office Links Start a JAM in your city if there isn’t one already. Become a JAM member Become an online JAM member Speak or sponsor at a JAM. Contact us at jenkinsci-jam@googlegroups.com Become a Jenkins project contributor...
Categories: Open Source