Support manifest.yml and custom manifestChoice

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: cloudfoundry-plugin
    • None

      When using the pipeline syntax generator in Jenkins it's not possible to select both Read configuration from a manifest file and Enter configuration in Jenkins.

      I have the scenario where I would like to use the manifest.yml, but also provide additional environment variables to specify a different "flavour" of deployment.

      pushToCloudFoundry(
        target: 'api.local.pcfdev.io',
        organization: 'pcfdev-org',
        cloudSpace: 'pcfdev-space',
        credentialsId: 'pcfdev_user',
        selfSigned: true,
        servicesToCreate: [
          [name: 'mysql-spring', type: 'p-mysql', plan: '512', resetService: true]
        ],
        manifestChoice: [
          manifestFile: 'path/to/manifest.yml',
          envVars: [
            [key: 'FOO', value: 'bar']
          ]
        ]
      )
      

            Assignee:
            Olivier Lamy
            Reporter:
            Sion Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: