0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

IBM CloudでGitとJenkinsを連携させてみた(1.Git環境構築)

Last updated at Posted at 2021-12-24

目的

IBM Cloud環境にて,gitおよびjenkinsを構築し,Jenkins と Git を連携させ、ビルド・リリースのためのCI/CD環境基盤を構築する

image.png

手順

構築時に利用する設定項目は,以下の値で作成いたします。

設定項目 設定値
リソースグループ default
Gitリポジトリー名 Git_repo
ツールチェーン名 Git_Jenkins_Chain
仮想プライベート・クラウド名 vpc

手順詳細

1.Git環境の構築

1.ツールチェーンの作成

1.ツールチェーンの作成

IBM Cloud環境へログイン
ログインURL
https://cloud.ibm.com/login
image.png

ダッシュボードのメニューから,メニューよりDevOpsを選択

image.png

IBM Cloud上でtoolChainを選択

image.png

Build Your Own ツールチェーンを選択

image.png

ツールチェーンの作成

ツールチェーン名の入力,および,リソースグループを選択し,作成ボタンを押下
ツールチェーン名
Git_Jenkins_Chain
image.png

ツールチェーンが作成されたことを確認

image.png

2.gitリポジトリーの作成

2.gitリポジトリーの作成

ツールの追加を選択

image.png

GitリポジトリーおよびIssueトラッキングを選択

image.png

Gitリポジトリーの作成

リポジトリー名を入力し,統合の作成を選択
リポジトリー名は,Git_repo
image.png

Gitリポジトリーの作成確認

入力したリポジトリー名で作成されたことを確認
image.png

3.gitの設定

3.gitの設定

gitリポジトリーを選択

image.png

テスト用のファイルを追加

検証用に以下のスクリプトを記載

@echo off
echo Hello world

image.png

テスト用ファイルが追加されたことを確認

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?