jenkins的一些术语

今天写脚本,调用api想着如果一个任务成功,则跑另外任务,但是我看来,一个build结果时unstable,结果也是lastSuccessfulBuild,换成lastStableBuild解决。
同时附录jenkins的术语,主要取自这两个网址,附录上,有时间我整理翻译下:

https://wiki.jenkins.io/display/JENKINS/Terminology
https://www.jenkins.io/doc/book/glossary/

英文中文解释其他说明
Agent代理An agent is typically a machine, or container, which connects to a Jenkins master and executes tasks when directed by the master.
ArtifactAn immutable file generated during a Build or Pipeline run which is archived onto the Jenkins Master for later retrieval by users.
BuildResult of a single execution of a Project

执行一个project的结果
CloudA System Configuration which provides dynamic Agent provisioning and allocation, such as that provided by the Azure VM Agents or Amazon EC2 plugins.
Handles creation of Nodes to dynamically expand/shrink the number of slave machines
CoreThe primary Jenkins application (jenkins.war) which provides the basic web UI, configuration, and foundation upon which Plugins can be built.
DownstreamA configured Pipeline or Project which is triggered as part of the execution of a separate Pipeline or Project.
ExecutorA slot for execution of work defined by a Pipeline or Project on a Node. A Node may have zero or more Executors configured which corresponds to how many concurrent Projects or Pipelines are able to execute on that Node.
Separated stream of builds to be run on Node in parallel. Node can have 1 or more Executors. Special executors can be created dynamically (one-off executors) to run lightweight jobs used mostly for orchestration purposes.
FingerprintA hash considered globally unique to track the usage of an Artifact or other entity across multiple Pipelines or Projects.
FolderAn organizational container for Pipelines and/or Projects, similar to folders on a file system.
ItemAn entity in the web UI corresponding to either a: Folder, Pipeline, or Project.
Jenkins URLThe main url for the jenkins application, as visited by a user. e.g. https://ci.jenkins.io/

jenkins服务器的首页网址
JobA deprecated term, synonymous with Project.

和Project相同,不再使用
LabelUser-defined text for grouping Agents, typically by similar functionality or capability. For example linux for Linux-based agents or docker for Docker-capable agents.
MasterThe central, coordinating process which stores configuration, loads plugins, and renders the various user interfaces for Jenkins.
NodeA machine which is part of the Jenkins environment and capable of executing Pipelines or Projects. Both the Master and Agents are considered to be Nodes.
ProjectA user-configured description of work which Jenkins should perform, such as building a piece of software, etc.
Jenkins seems to use these terms interchangeably. They all refer to runnable tasks that are controlled / monitored by Jenkins.
PipelineA user-defined model of a continuous delivery pipeline, for more read the Pipeline chapter in this handbook.
Plugin插件An extension to Jenkins functionality provided separately from Jenkins Core.
PublisherPart of a Build after the completion of all configured Steps which publishes reports, sends notifications, etc.
A publisher is part of the build process other than compilation, for example JUnit test runs. A publisher may report stable or unstable result depending on the result of its processing. For example, if a JUnit test fails, then the whole JUnit publisher may report unstable.

Resource Root URLA secondary url used to serve potentially untrusted content (especially build artifacts). This url is distinct from the Jenkins URL.
Stagestage is part of Pipeline, and used for defining a conceptually distinct subset of the entire Pipeline, for example: “Build”, “Test”, and “Deploy”, which is used by many plugins to visualize or present Jenkins Pipeline status/progress.
StepA single task; fundamentally steps tell Jenkins what to do inside of a Pipeline or Project.
TriggerA criteria for triggering a new Pipeline run or Build.
Update CenterHosted inventory of plugins and plugin metadata to enable plugin installation from within Jenkins.
UpstreamA configured Pipeline or Project which triggers a separate Pipeline or Project as part of its execution.
WorkspaceA disposable directory on the file system of a Node where work can be done by a Pipeline or Project. Workspaces are typically left in place after a Build or Pipeline run completes unless specific Workspace cleanup policies have been put in place on the Jenkins Master.
Disposable directory on Node used as a working directory for building. It is preserved on best effort bases after build completion.


Node/Slave

Slaves are computers that are set up to build projects for a master. Jenkins runs a separate program called “slave agent” on slaves. When slaves are registered to a master, a master starts distributing loads to slaves. Term Node is used to refer to all machine that are part of Jenkins grid, slaves and master.

Upstream project

A project can have one or several upstream projects, which means that a build for the current project may be scheduled when an upstream build is finished. Per default every stable upstream build will schedule a build in the downstream project, but there are several options and plugins which can customize this behaviour.

Downstream project

A project can have one or several downstream projects. The current project is then known as an upstream project of the downstream project. See Upstream project for what this means regarding scheduling of builds.


构建结果大概时这样的

Created with Raphaël 2.2.0 开始构建 成功构建? success 成功发布? Stable Completed unstable Failed yes no yes no
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值