About Jenkins Pipeline
Oracle WebLogic Server for OKE deploys Jenkins to the Kubernetes cluster along with your stack, and uses the Jenkins Pipeline to provision a domain, deploy applications, automatic patches, and update the domain images.
Jenkins Pipeline, also referred to as Pipeline, is a suite of plug-ins that
supports implementation and integration of continuous delivery (CI/CD) pipelines into
Jenkins. The definition of the Pipeline is written in a Jenkinsfile
, a
text file that can be committed to a project's source control repository.
The CI/CD Pipeline uses Oracle WebLogic Deploy Tooling (WDT) and Oracle WebLogic Image Tool (WIT) to update the domain to deploy applications, libraries, and resources; apply JDK and WebLogic Server patches; and update an existing image.
See Oracle WebLogic Server Deploy Tooling and Oracle WebLogic Image Tool.
The images are pushed and pulled within the same regions as deployments using the Oracle Cloud Infrastructure Registry (OCIR) service. See Overview of Registry.
-
Pipelines can be implemented in code and version controlled.
-
Pipelines can be paused at any stage for user inputs or approval.
-
Pipelines support complex CD requirements that enables forking or joining, looping and executing stages in parallel.
-
Pipelines support domain-specific language (DSL) extension.
Jenkins Pipeline jobs are used to deploy applications and patches. See:
Pipeline Jobs
Oracle WebLogic Server for OKE has a set of preconfigured jobs to deploy applications and patches.
Table 1-1 Preconfigured Jobs
Job Type | Job Name | Description |
---|---|---|
Main | create domain on pv |
Creates an Oracle WebLogic Server domain home in a Kubernetes Persistent Volume (PV) using the domain creation images. You can use the Domain on PV domain home source type to create a non-Java Required Files (JRF) domain or a Java Required Files domain. |
Main | create mii domain |
Creates an Oracle WebLogic Server domain using the Model in Image (MII) domain home source type with auxillary images. You can use the Model in Image domain home source type to create a non-Java Required Files (JRF) domain. |
Main | update mii domain |
Updates the domain configuration for the Model in Image
domain. Deploys and undeploys applications, shared libraries and
resources such as Java Messaging Service (JMS) and datasources to a
Model in Image domain.
Note: If you are using the Domain on PV approach to set up a WebLogic domain, you can update the domain using the WebLogic Server Administration Console or the WebLogic Scripting Tool (WLST). |
Main | automatic patching |
Automatically applies patches on the selected domains, as per the schedule. |
Main | apply patch |
Applies OPatches on the base image of the domain for both Model in Image domain and Domain on PV. |
Main | create base image |
Creates a new base image from Fusion Middleware installer, JDK installer, and JDK patches. Used to create the base image for both Model in Image domain and Domain on PV. |
Main | update base image |
Updates a base image of a domain with a different base image. Used to update the base image for both Model in Image domain and Domain on PV. |
Main | terminate mii domain |
Deletes the IDCS, external load balancer, WebLogic domain, and the Kubernetes namespaces that were created for the Model in Image domain. Additionally, the job also deletes the node pool associated with the domain if you opt to delete the nodepool at the time of terminating the domain. See Terminate a WebLogic Domain. |
Main | terminate pv domain |
Deletes the IDCS, external load balancer, WebLogic domain, and the Kubernetes namespaces that were created for the Domain on PV. Additionally, the job also deletes the node pool associated with the domain if you opt to delete the nodepool at the time of terminating the domain. See Terminate a WebLogic Domain. |
Child | backup and deploy domain |
Creates a backup of the Yaml file of the running domain
and deploys the changes on the running domain. This job is used by other
pipeline jobs and cannot be activated manually.
This is
a child job for the |
Child | create wls nodepool |
This is a child job for the create mii
domain and create pv domain jobs.
|
Pipeline Jobs With Verrazzano Installation
Oracle WebLogic Server for OKE has a set of preconfigured jobs to deploy applications.
The following table lists the preconfigured jobs for Oracle WebLogic Server for
OKE stack with
Verrazzano. These preconfigured jobs are main
job type.
Table 1-2 Preconfigured Jobs in Verrazzano
Job Name | Description |
---|---|
create domain as component |
Creates an empty WebLogic domain with a container image and component.yaml file using the selected base image. This image can be used to register the Verrazzano WebLogic component and deploy applications. |
update domain in component |
Deploys and undeploys applications, shared libraries and resources such as Java Messaging Service (JMS) and datasources to a domain. |
create base image |
Creates new image from Fusion Middleware installer, JDK installer, and JDK patches. This new image can be used to create a new domain or update an existing domain.. |
rebase component image |
Updates a base image of a Verrazzano WebLogic component with a different base image. |
register component |
Creates a domain definition using component.yaml. This job is used to create new empty WebLogic domain or update an existing WebLogic domain. |
configure application |
Deploys a Verrazzano application with WebLogic workloads. |
terminate component |
Deletes the Verrazzano component, RCU, WebLogic domain, Kubernetes namespaces, persistent volume that we created for the domain. |
unregister component |
Deletes the Verrazzano WebLogic component. |
unregister application |
Deletes the application configuration of the Verrazzano WebLogic component. |