0
1

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.

Jenkinsfile label(agent内)について

Last updated at Posted at 2020-06-30

Jenkinsfileに記載するagentのlabelが何を指すのかわからなかったので調査。

agentとは

ジョブを実行する環境を指定するsections内の要素のこと

labelとは

agent 内に記載するビルドをどのノードで実行するかを指定する

agent {
    label '【ノード名】'
}

ちなみにノードとは?

ノードとはJenkinsがインストールされたサーバのこと。
ビルドを実際に実行するサーバのこと。

参考URL

https://blog.lufia.org/entry/2018/01/19/000000
https://knowledge.sakura.ad.jp/5433/
https://www.jenkins.io/doc/book/pipeline/syntax/#declarative-directives

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?