This plugin is up for adoption! We are looking for new maintainers. Visit our Adopt a Plugin initiative for more information. Managed scripts are shell scripts which are managed centrally by an administrator and can be referenced as a build step within jobs. The scripts are managed by the Config File Provider Plugin, go to the "Manage Jenkins" screen and click on the "Managed files" item. After in
Jenkins features a Groovy script console which allows one to run arbitrary Groovy scripts within the Jenkins controller runtime or in the runtime on agents. It is very important to understand all of the following points because it affects the integrity of your Jenkins installation. The Jenkins Script Console: Access is controlled by the Administer permission. Is a web-based Groovy shell into the J
タイトルの通り、別サーバにあるJenkins間でジョブを連携させるスクリプトを勉強がてら書いたので、ことのついでに晒してみます。 ソースはgist(syncbuild_remote_jenkins.py)にあります。 動作環境などは↓のような感じ。 python2.7で動作確認済み 3.x系では動きません 基本的に標準のライブラリだけで動く(はず) 自由にpip install出来ない環境では重宝するかも 使い方としては、任意のホスト、ポート、ジョブ名を指定する感じです。 $ ./syncbuild_remote_jenkins.py --host remote-jenkins-server --job RemoteJobName --interval 300 ちなみに、intervalオプションでジョブの状態をポーリングする間隔を変えられるようにしています。(上記の例だと300秒) 時間
この記事は、Jenkins Advent Calendar 2日目の記事です。 Jenkins Advent Calendar jp 2011 : ATND Jenkinsには、外部から操作するための口としてスクリプトコンソール、CLI、Remote Access APIなどが用意されています。ここでは、僕が一番使い慣れている(けど多分あまりメジャーでない)スクリプトコンソールについて紹介します。 スクリプトコンソールとは ブラウザ上からGroovyコードを記述して、そのコードをサーバ上で実行することができます。トラブルシューティングやジョブの一括編集などに力を発揮します。スクリプトコンソールを使うには、[Jenkinsの管理 > スクリプトコンソール]から、もしくは http://localhost:8080/script を直接入力してみてください。 僕は今の現場では100超のジョブを
Scriptler allows you to store/edit groovy scripts and execute it on any of the agents/nodes... no need to copy/paste groovy code anymore. Besides administering your scripts, Scriptler also provides a way to share scripts between users via hosted script catalogs on the internet. On GitHub at https://github.com/jenkinsci/jenkins-scripts/tree/master/scriptler you are not only able to find scripts and
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く