【发布时间】:2019-08-14 04:45:21
【问题描述】:
我正在尝试使用 Text Finder plugin 编写 jenkinsfile,但我不知道它是如何工作的。
这是我的代码:
pipeline {
agent {
label {
label "master"
}
}
stages {
stage('CHECKOUT') {
steps{
script{
echo "##[1 / 4] ERROR"
}
publishers {
textFinder("*ERROR*", '', true, false, true)
}
}
}
}
}
【问题讨论】: