お久しぶりです。コンサルタントの森 (@mosuke5)です。 コロナで自宅勤務の人も多いかと思いますが、みなさんどう過ごしていますか? ずっと家にいると辛いので、定期的に息抜きで家の散歩をしています。桜もちょうどきれいでいい花見?になります。 さて、ここ最近は、OpenShift上でのCI/CDパイプラインの構築をたくさん行ってきたのですが、 よくある質問に「どうやってカスタムのJenkins agentを作ったらいいか」がありました。 まとまった情報もインターネットになかったので今回書いてみました。 デフォルトのJenkins agentイメージ OpenShiftのインストール後のデフォルトでもmaven環境とnodejs環境のagentのイメージがあります。(OCP 4.3環境) openshiftプロジェクト内にあるimage streamを確認してみます。 $ oc get i