---
- scm:
    name: ci-deployment_CI_Network_Config
    scm:
        - git:
            url: git@github.gds:gds/ci-deployment.git
            branches:
              - master

- job:
    name: CI_Network_Config
    display-name: CI_Network_Config
    project-type: freestyle
    description: "Deploy networking config"
    properties:
        - github:
            url: https://github.gds/gds/ci-deployment/
    scm:
      - ci-deployment_CI_Network_Config
    builders:
        - shell: |
            ./vcloud-edge_gateway/jenkins.sh skyscape $EXTRA_ARGUMENTS
    wrappers:
        - ansicolor:
            colormap: xterm
        - build-name:
            name: '#${BUILD_NUMBER} ${ENV,var="component"} ${ENV,var="extra_arguments"}'
    parameters:
        - choice:
            name: COMPONENT
            description: COMPONENT
            choices:
                - PLEASE CHOOSE ONE
                - nat
                - firewall
        - string:
            name: VCLOUD_USERNAME
            description: Your VCloud Username
            default: false
        - password:
            name: VCLOUD_PASSWORD
            description: Your VCloud Password
            default: false
        - string:
            name: EXTRA_ARGUMENTS
            description: Would you like to supply extra job arguments (e.g. --dry-run)
            default: false

---
- scm:
    name: ci-deployment_CI_Network_Config
    scm:
        - git:
            url: git@github.gds:gds/ci-deployment.git
            branches:
              - master

- job:
    name: CI_Network_Config
    display-name: CI_Network_Config
    project-type: freestyle
    description: "Deploy networking config to the Skyscape CI environment"
    properties:
        - github:
            url: https://github.gds/gds/ci-deployment/
    scm:
      - ci-deployment_CI_Network_Config
    builders:
        - shell: |
            ./vcloud-edge_gateway/jenkins.sh skyscape $EXTRA_ARGUMENTS
    wrappers:
        - ansicolor:
            colormap: xterm
        - build-name:
            name: '#${BUILD_NUMBER} ${ENV,var="component"} ${ENV,var="extra_arguments"}'
    parameters:
        - choice:
            name: COMPONENT
            description: COMPONENT
            choices:
                - PLEASE CHOOSE ONE
                - nat
                - firewall
        - string:
            name: VCLOUD_USERNAME
            description: Your VCloud Username
            default: false
        - password:
            name: VCLOUD_PASSWORD
            description: Your VCloud Password
            default: false
        - string:
            name: EXTRA_ARGUMENTS
            description: Would you like to supply extra job arguments (e.g. --dry-run)
            default: false

Update job description to CI_Network_Config
Update job description to CI_Network_Config

To make it more clear what this job does. It took me a minute to
work it out.
