++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ https://www.youtube.com/watch?v=FX322RVNGj4 Windows to connect to OCI https://docs.oracle.com/en/solutions/infrastructure-components-to-deploy-peoplesoft/ebs-configuring-terraform-windows-systems.html#GUID-E842E56A-B4E1-4A0C-9015-0EABED56B35C ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Created 3 Compute Instances on OCI . 1. Jenkins server : OPA-Instance_Sreejith_1 Step 1 : Installed Terraform on Windows env-vars.ps1 file To set the environment variables specified in the env-vars file, launch Windows PowerShell, navigate to the folder where your Terraform modules are located, and enter: env-vars.ps1 This runs the env-vars.ps1 file, which sets all the variables specified in this file for the current session. check the setting> dir env: https://www.terraform.io/downloads Clicked on 386 Unzipped in ...
https://www.youtube.com/watch?v=7KCS70sCoK0&t=843s https://plugins.jenkins.io/ ------------------------------------------------------------------------------------------------------------------------------- Post Job -- some automated script such as sending an email etc on the status of the built whether it is successful or not. Define conditional run of the steps for instance you want to run the test in development branch build . The current / active branch name in the build is always available in the jenkins file through and environmental that jenkins provides it . BRANCH_NAME /OR env.BRANCH_NAME check if this is dev branch This part of the buuild will only execute if the current branch is dev. If you only want to build your application when there are code changes. if branch name and code changes are true CODE_CHANGES is the variable that you define yourself globally like below. getGitChanges() -- This would be a groovy script to check if there is any changes mad...
Comments
Post a Comment