In the previous post in this series, I covered my favorite development-time helper: running job scripts from the command line. In this post, I’ll cover the differences between job-dsl and Pipelines, and how I currently see the two living together in the Jenkins ecosystem. job-dsl refresher If you’re coming into this post directly, without reading the preceding articles in the series, I strongly en
Jenkins Job DSL Playground API Viewer Groovy Run job('ci') { description 'Build and test the app.' scm { github 'sheehan/job-dsl-playground' } steps { gradle 'test' } publishers { archiveJunit 'build/test-results/**/*.xml' } } XML Job DSL version: 1.77 Source × Modal header One fine body… Close Save changes
Jenkinsで似たようなジョブをテンプレートにする方法として、ここで取り上げる Job DSL Plugin の他にも、 Jobcopy Builder Plugin のような方法もある。 GroovyでDSLとしてジョブを定義できる点が気に入って、今回はJob DSL Pluginを採用したので、使い方を書き残す。 テンプレートDSLの作成 今回は、こんなジョブのテンプレートを作成する。 GitBucket上で管理したGitリポジトリからソースコードを取得する ビルド、テストはGradleを使う ジョブ名、リポジトリのURL、ビルド結果メールの送信先が可変要素 DSL作成時のポイント プラグインの API Reference が充実しているため、そちらを参照しながら実装する プラグインの Wiki には、使い方を中心としたドキュメントがあるため、そちらも参照する 特に、 ローカルで開発
Configuration As Code - Adoption of the Job DSL Plugin at Netflix The Jenkins Job DSL plugin allows programmers to express job configurations as code. Learn about the benefits, from the obvious (store your configurations in the SCM of your choice) to the not-so-obvious (focus on intent, instead of succumbing to the distraction of multiple, complex job configuration options). We will share our expe
This plugin is up for adoption! We are looking for new maintainers. Visit our Adopt a Plugin initiative for more information. NOTE The Job DSL Plugin is currently seeking co-maintainers. This does not mean that it's unmaintained right now, but that stepping up to help support this plugin would help long-term health of this project. Jenkins is a wonderful system for managing builds, and people love
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く