<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Ci-Cd on Hangstuck</title><link>https://nagayasu-shinya.github.io/categories/ci-cd/</link><description>Recent content in Ci-Cd on Hangstuck</description><image><title>Hangstuck</title><url>https://nagayasu-shinya.github.io/images/site-cover.png</url><link>https://nagayasu-shinya.github.io/images/site-cover.png</link></image><generator>Hugo</generator><language>ja-JP</language><copyright>2015-2026 NAGAYASU Shinya</copyright><lastBuildDate>Sat, 30 May 2026 13:42:39 +0900</lastBuildDate><atom:link href="https://nagayasu-shinya.github.io/categories/ci-cd/index.xml" rel="self" type="application/rss+xml"/><item><title>Jenkins で手動ビルドを禁止する書き方</title><link>https://nagayasu-shinya.github.io/posts/jenkins-manual-trigger-prevention/</link><pubDate>Tue, 01 Oct 2024 04:52:17 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jenkins-manual-trigger-prevention/</guid><description>&lt;p&gt;Jenkins のリリースフローで手動ビルドのリリースを禁止したいときは通常Jenkinsユーザーの権限を制限することで実現するかと思います。
さらに念を入れて手動ビルド自体を禁止する方法を説明します。&lt;/p&gt;</description></item><item><title>Jenkinsfile で sudo する方法</title><link>https://nagayasu-shinya.github.io/posts/jenkins-sudo-configuration/</link><pubDate>Thu, 12 Oct 2023 23:50:27 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jenkins-sudo-configuration/</guid><description>&lt;p&gt;&lt;code&gt;Jenkinsfile&lt;/code&gt; からコマンドを &lt;code&gt;sudo&lt;/code&gt; で実行させたいときがあります。
そういうときの対処法を &lt;code&gt;askpass&lt;/code&gt; をはじめ数パターンまとめてみました。&lt;/p&gt;</description></item><item><title>Jenkins でジョブにファイルをアップロードするプラグイン</title><link>https://nagayasu-shinya.github.io/posts/jenkins-file-parameter-plugin/</link><pubDate>Fri, 15 Sep 2023 01:28:52 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jenkins-file-parameter-plugin/</guid><description>&lt;p&gt;Jenkinsのジョブ実行時に、ジョブにファイルを渡すことができます。
デフォルトの機能なんですがうまく動作せず、プラグインを導入して解決できました。
ちょっとクセがあるのでその使い方を説明します。&lt;/p&gt;</description></item><item><title>Jenkinsfile から bash の機能を使う</title><link>https://nagayasu-shinya.github.io/posts/jenkins-bash-shell-configuration/</link><pubDate>Thu, 10 Mar 2022 00:42:35 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jenkins-bash-shell-configuration/</guid><description>&lt;p&gt;jenkinsfile の &lt;code&gt;sh()&lt;/code&gt;は素の&lt;code&gt;sh&lt;/code&gt;なのでbashizmの機能が使えません。
そこで&lt;code&gt;sh&lt;/code&gt;ではなく&lt;code&gt;bash&lt;/code&gt;を使う方法を説明します。&lt;/p&gt;</description></item><item><title>シェルスクリプトの静的解析とステップ数をJenkinsで監視 | ShellCheck と Cloc</title><link>https://nagayasu-shinya.github.io/posts/jenkins-shell-analysis-pipeline/</link><pubDate>Sat, 05 Mar 2022 01:00:07 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jenkins-shell-analysis-pipeline/</guid><description>&lt;p&gt;ちょっとした作業ならシェルスクリプトで行うことも多いと思いますが大きくなるとメンテナンスが大変です。
そこで Jenkins にて静的解析ツールとステップ数計測ツールを実行する方法を説明します。&lt;/p&gt;</description></item><item><title>ccache のキャッシュファイルを複数ユーザやJenkinsと共有する</title><link>https://nagayasu-shinya.github.io/posts/ccache-multi-user-sharing/</link><pubDate>Sat, 13 Nov 2021 00:03:02 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/ccache-multi-user-sharing/</guid><description>&lt;p&gt;C/C++のコンパイル高速化ツール &lt;code&gt;ccache&lt;/code&gt; のキャッシュを複数ユーザーで共有してビルドを高速化する方法を説明します。&lt;/p&gt;</description></item><item><title>make にて途中でエラーが出ても全コマンドを実行する方法</title><link>https://nagayasu-shinya.github.io/posts/make-continue-on-error/</link><pubDate>Mon, 14 Jan 2019 13:41:13 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/make-continue-on-error/</guid><description>&lt;p&gt;GNU make にて、途中でエラーが起きてもそのまま処理を継続させる方法を説明します。&lt;/p&gt;</description></item><item><title>Arduinoでccacheを使ってビルドを高速化！</title><link>https://nagayasu-shinya.github.io/posts/arduino-build-cache-ccache/</link><pubDate>Wed, 25 Apr 2018 07:30:49 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/arduino-build-cache-ccache/</guid><description>&lt;p&gt;Arduino IDE でのビルドを速くするために&lt;a href="https://ccache.dev"&gt;ccache&lt;/a&gt;というc/c++向けのコンパイル高速化ツールを使って高速化する方法をご紹介します。&lt;/p&gt;</description></item><item><title>C/C++のコンパイルを高速化する｜ccache</title><link>https://nagayasu-shinya.github.io/posts/build-cache-compilation-ccache/</link><pubDate>Fri, 13 Apr 2018 21:55:26 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/build-cache-compilation-ccache/</guid><description>&lt;p&gt;最近はマイコンも多機能になってきて、ビルド時間もバカにならなくなってきています。
そこで今回はC/C++のコンパイルを爆速にするccacheというツールをご紹介します。&lt;/p&gt;</description></item><item><title>Arduino IDEのビルドを速くする｜オブジェクトファイルの出力先を固定する</title><link>https://nagayasu-shinya.github.io/posts/arduino-build-optimization-path/</link><pubDate>Mon, 19 Feb 2018 08:00:11 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/arduino-build-optimization-path/</guid><description>&lt;p&gt;Arduino IDE でビルドしたときにコンパイル遅い問題を解決する方法を紹介します。&lt;/p&gt;</description></item><item><title>コピペコードを逐次検出する｜Jenkins と PMD CPD</title><link>https://nagayasu-shinya.github.io/posts/jenkins-duplicate-code-detection/</link><pubDate>Fri, 06 Oct 2017 10:30:24 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/jenkins-duplicate-code-detection/</guid><description>&lt;p&gt;JenkinsとPMD CPDを使って、コピペコード（重複コード）を継続的に検出・監視する方法を説明します。&lt;/p&gt;</description></item><item><title>GNU Make 第3版 日本語版（オライリー）のPDF版電子書籍（ライセンス：GFDL）</title><link>https://nagayasu-shinya.github.io/posts/gnu-make-manual-pdf/</link><pubDate>Sat, 27 Aug 2016 05:30:22 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/gnu-make-manual-pdf/</guid><description>&lt;p&gt;オライリー社の&lt;a href="http://www.oreilly.co.jp/library/4873112699/"&gt;オライリージャパン GNU Make 第3版&lt;/a&gt;のPDFの紹介です。&lt;/p&gt;</description></item><item><title>GNU make のビルド高速化｜サフィックスルール</title><link>https://nagayasu-shinya.github.io/posts/make-suffix-rules-optimization/</link><pubDate>Sat, 27 Aug 2016 05:07:46 +0900</pubDate><guid>https://nagayasu-shinya.github.io/posts/make-suffix-rules-optimization/</guid><description>&lt;p&gt;GNU Makeの &lt;code&gt;.SUFFIXES&lt;/code&gt; を最適化することで、簡単にビルド時間を数％削減できるニッチな方法を紹介します。&lt;/p&gt;</description></item></channel></rss>