Class CdTektonPipelineExamples


  • public class CdTektonPipelineExamples
    extends java.lang.Object
    This class contains examples of how to use the CD Tekton Pipeline service. The following configuration properties are assumed to be defined: CD_TEKTON_PIPELINE_URL=<service base url> CD_TEKTON_PIPELINE_AUTH_TYPE=iam CD_TEKTON_PIPELINE_APIKEY=<IAM apikey> CD_TEKTON_PIPELINE_AUTH_URL=<IAM token service base URL - omit this if using the production environment> These configuration properties can be exported as environment variables, or stored in a configuration file and then: export IBM_CREDENTIALS_FILE=<name of configuration file>
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      The main() function invokes operations of the CD Tekton Pipeline service.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        The main() function invokes operations of the CD Tekton Pipeline service.
        Parameters:
        args - command-line arguments
        Throws:
        java.lang.Exception - an error occurred