我是 Tekton 管道的新手。我正在从 Tekton 管道迁移 Jenkins 文件
我确实有以下 jenkinsfile 代码
pipeline {
libraries {
lib 'operator-pipeline-library'
}
parameters {
string(name: 'OPERATOR_CATALOG_REPO', description: ' operator images that are in the catalog', defaultValue: 'operator-3rdparty-dev-local.net')
string(name: 'OPERATOR_INDEX', description: 'Artifactory ', defaultValue: 'operator-3rdparty-catalog-dev-local.net')
}
agent {
kubernetes {
cloud 'openshift'
yamlFile 'operator-mirror-pod.yaml'
}
}
}
我确实想知道如何重写以下内容
agent {
kubernetes {
cloud 'openshift'
yamlFile 'operator-pod.yaml'
}
}
在 Tekton 管道中