CI/CD Pipeline in Oracle Forms with maven

 

Auto compilation Oracle forms DevOps

CI/CD

 

 

DevOps Approach for Oracle Forms:

Step1:

Push the Oracle Forms code fmb files, both in the binary and in the xml format to the hosted Git repository on Developer Cloud Service. The xml format will be used for code reviews and can also be used for storing snippets. For pushing the Oracle Forms code to Developer Cloud Git repository, we will have to use the Git CLI. Pre requisite here would be that the Git CLI has to be installed on the developer machine. Below screen shot show the Git usage:






DevOps Approach for Oracle Forms:

Step2:

Push the Oracle Forms code fmb files, both in the binary and in the xml format to the hosted Git repository on Developer Cloud Service. The xml format will be used for code reviews and can also be used for storing snippets. For pushing the Oracle Forms code to Developer Cloud Git repository, we will have to use the Git CLI. Pre requisite here would be that the Git CLI has to be installed on the developer machine. Below screen shot show the Git usage:

 

 



 

Step 3:

 Person to whom the merge request is assigned will be able to review the xml format code, give review comments and approve or reject the changes. On approval the code will be merged with the master branch.

 



 

Step4:

Once the code is merged, it is time to configure the build job which will execute the shell script to uncompressed the forms compiler in the maven repository, clone the Git repository containing the forms code, compile the code and then push the compile code archive to maven repository. From which it can be downloaded and installed either on premise or cloud. Below screen shots show the configuration for the build job:
Give a name of your choice to the build job.



 

Configure the Git repository which contains the Oracle Forms code that needs to be compiled. Also select the branch, which in this case is master.

 

 



 

Configure the build job to trigger on any change in the Source Control by enabling the check box as shown in the screen shot.

 

 



 

 

 

Execute the shell script using the Execute Shell build step after selecting it from the Add build Step drop down.

 



 

 

Configure any other build jobs that need to be triggered and also the artifact that needs to be archived in the Post Build tab.

 



 

 

 

 

 

The shell script for the forms code compilation:

 

Uncompress the forms compiler from the maven repository.

 



 

 

Download and unzip any dependencies from the maven repository.

 



 

 

Set the environment to access the database for compilation

 



 

 

 

Compile the forms using the compiler

 

 



 

DevOps approach for Forms in a nut shell

 

 



 

 

 

 

 

 

Comments

Popular posts from this blog

Elastic Search & Kibana Including Log stash and Beats

Jitsi Meet Configuration On Ubuntu 20.