小编han*_*ase的帖子

詹金斯:如何使用詹金斯管道多个参数

我有一个 Jenkinsfile 实例,使用 ansible-playbook 来部署 webmachine。

我需要一次指定多个 ansible-playbook 参数。

我有

WorkflowScript:25:多次出现参数部分

我的 jenkinsfile 像这样,

pipeline {
agent none
stages {
    stage('docker-compose up') {
        input {
            message "Should we continue?"
            ok "Yes, do it!"
            parameters {
                string(name: 'KIBANA_TAG', defaultValue: '', description: 'input tag for ansible command.')
            }
            parameters {
                string(name: 'FLUENT_TAG', defaultValue: '', description: 'input tag for ansible command.')
            }
            parameters {
                string(name: 'ES_TAG', defaultValue: '', description: 'input tag for ansible command.')
            }
            parameters {
                string(name: 'HOST', defaultValue: '', description: 'input …
Run Code Online (Sandbox Code Playgroud)

jenkins jenkins-pipeline

5
推荐指数
2
解决办法
1万
查看次数

标签 统计

jenkins ×1

jenkins-pipeline ×1