Skip to content

Buildpiper_lab_02: Mobile Job Template Creation

taranopstree edited this page Jul 21, 2023 · 3 revisions

In this lab, we will create Job Template for our Mobile Application.

Prerequisites

  • Teamname-Application

  • Service Onboarded

Before proceeding further, let's understand what Job Template is?

Job Template (also known as powerhouse of Buildpiper) is a set of logical operations which we define to perform the CI/CD.

In this section we will create the job template.

Step 1:- Click on your teamname application then go to Job Templates and click on New Job Templates.

Screenshot 2023-07-19 192335 

Step 2:- Enter the template name and template description. Click on Save.

Screenshot 2023-07-19 192754 

Step 3:- Once template is created, click on Edit button. By this way, you can able to add/configure new steps in a job template.

Screenshot 2023-07-19 193120 

Step 5:- Whenever we create a new Job Template it comes with default set of steps as you can see it below. For this application, we need to remove certain steps.

  • pre hook

  • build_image

  • push_image

  • post hook

image 

Cloning

After removing the Jobs. Your template would look like this.

image 

Step 6:- Go to your team-application and click on Edit.

image 

Step 7:- Select <your-new-template> template from the dropdown and Click on Save & Continue.

image 

Step 8:- You can validate your updated job template. You can click on Build and then Trigger Build.

image 

Step 9:- Scroll down and click on Build#{BuildNumber} to check the status and logs of the Build Image.

image 

Step 10:- As we can see that our cloning Job completed successfully.

image 

Hurrayy!!! Successfully Test Job Triggered.....