jenkins - 詹金斯:步骤和步骤之间的区别
问题描述
step
这里提到的有什么区别https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#step-general-build-step
并steps
在这里提到https://jenkins.io/doc/pipeline/tour/running-multiple-steps/
解决方案
steps
是一组在 a 中要做的事情stage
。里面的每条指令steps
都是一个step
.
这是一个例子:
pipeline {
agent any
stages {
stage('FirstStage') {
steps {
echo 'Hello World' // step
echo 'Hello World again' // another step
}
stage('SecondStage') {
steps {
echo 'Hello World' // yet another step
echo 'Hello World again' // another step again
}
}
}
}
推荐阅读
- date - Google Sheet LARGE 公式错误“LARGE 没有有效的输入数据”
- metal - 如果 Metal 输出图像与 iOS 具有相同的坐标系,为什么要翻转它?
- hyperledger-fabric - 执行 ./network.sh up createChannel 时出错
- mysql - 如何解决 ServiceStack OrmLite 对七个连接表的限制
- javascript - 有条件地填写字段 WordPress
- python - 按嵌套对象日期排序
- text - 如何在没有 excel 的情况下转换文本?
- javascript - GAS依次选择和上传文件
- python - SQLAlchemy 复杂的 RBAC - 外键完全是其中之一
- r - 在 R 中创建具有不同名称的数据帧的循环