Uploaded image for project: 'OpenShift Java Client'
  1. OpenShift Java Client
  2. OSJC-191

Add capability to manually trigger a build request for a build config

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0
    • 3.0.0
    • core
    • None

      The proper URL appears to be https://localhost:8443/osapi/v1/namespace/<projectname>/buildConfigs/<buildconfigname>/instantiate with payload:

            var req = {
              kind: "BuildRequest",
              apiVersion: "v1beta3",
              metadata: {
                name: buildConfigName
              }
            }; 
      

      Thought is to:

      1. Update UrlBuilder to handle subresource
      2. Update IClient to take an arbitrary subresource for a post (additional create with another flag?)
      3. Add a capability to BuildConfigs

              jcantril@redhat.com Jeffrey Cantrill
              jcantril@redhat.com Jeffrey Cantrill
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: