Sha256: 5059888071ff39a33abaebfd276999381c6867dd1016691b3ca3b675c98fc46f

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

Contents

---
- job:
    name: Job-Multi-Project
    job_type: multi_project
    parameters:
      - name: Param1
        type: string
        default: release
        description: The git branch to be used when building application
    scm_provider: git
    scm_url: git@github:org/repo
    scm_branch: release
    scm_params:
      local_branch: ${GIT_BRANCH}
      recursive_update: true
      wipe_workspace: true
      excuded_users: user
    triggers:
      - git_push: true
      - scm_polling: "H/5 * * * *"
    builders:
      - multi_job:
          phases:
            "Phase One":
              jobs:
                - name: first
                  exposed_scm: true
                  current_params: true
                  config:
                    predefined_build_parameters:
                      - "PARENT_WORKSPACE=${WORKSPACE}"
                - name: second
              continue_condition: COMPLETED
            "Phase Two":
              jobs:
                - name: third
      - inject_vars_file: build_job_info
    publishers:
      - downstream:
          project: Downstream-Job
          data:
            - params: |
                PARAM1=value1
                PARAM2=value2
            - file: promote-job-params
    wrappers:
      - timestamp: true

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jenkins_pipeline_builder-0.2.2 spec/unit_tests/fixtures/files/Job-Multi-Project.yaml