Загрузка страницы

Katalon Studio Docker Linux Jenkinsfile Pipeline Demo with Examples and practical | Raghav Pal

All FREE courses - https://automationstepbystep.com/
Katalon Studio - CI CD DevOps with Docker
00:00 Introduction & Topics
01:54 Setup Linux
06:17 Connect to a Linux System
09:58 Install Java on Linux
13:35 Install Jenkins on Linux
22:33 Install Git on Linux
23:48 Jenkinsfile
32:46 Get Jenkinsfile from Git SCM and run on Jenkins
41:09 Clone SCM Repository using Jenkinsfile
46:45 Docker on Linux
54:30 Get Katalon Docker Image
01:02:28 Run tests on Katalon Docker Container
01:08:26 Run tests on Katalon Docker Container from Jenkins Job
01:13:05 Run tests on Katalon Docker Container using Jenkinsfile Pipeline
01:19:39 Add Jenkinsfile in Katalon Studio Project

#KatalonStudioDevOps

Create AWS Linux machine and Connect to the Linux OS
https://www.youtube.com/watch?v=6bb-OqbI8-E
Create AWS Linux machine
Connect to Linux OS from Mac
Connect to Linux OS from Windows

Step 1 - Create an account on aws.amazon.com and login to the account
Step 2 - Goto EC2 service and select Launch Instance
Step 3 - Select the name, OS, type, volume, security groups etc and Launch Instance
Step 4 - Ensure you have created a key value pair and downloaded the .pem file
Step 5 - Once the system is up connect to the linux system

From Mac

Step 1 - Open terminal and run command
chmod 400 “location of pem file”
Step 2 - On aws ec2 page select the machine and click on connect
Step 3 - From the connection options select A standalone SSH client and copy the command
Step 4 - Run the command from the terminal and connect to the Linux system
ssh -i "LinuxMachine.pem" ec2-user@ec2-34-234-95-124.compute-1.amazonaws.com

From Windows

Step 1 - Download putty installer from https://www.putty.org/
Step 2 - Run the installer and install putty
Step 3 - Convert your private .pem key to .ppk using PuTTYgen

PuTTY does not natively support the PEM format for SSH keys
PuTTY provides a tool named PuTTYgen, which converts PEM keys to the required PPK format for PuTTY

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html?icmpid=docs_ec2_console

1. From the Start menu, choose All Programs, PuTTY, PuTTYgen.
2. Under Type of key to generate, choose RSA. If your version of PuTTYgen does not include this option, choose SSH-2 RSA
3. Choose Load. By default, PuTTYgen displays only files with the extension .ppk. To locate your .pem file, choose the option to display files of all types
4. Select your .pem file for the key pair that you specified when you launched your instance and choose Open. PuTTYgen displays a notice that the .pem file was successfully imported. Choose OK
5. To save the key in the format that PuTTY can use, choose Save private key. PuTTYgen displays a warning about saving the key without a passphrase. Choose Yes
6. Specify the same name for the key that you used for the key pair (for example, my-key-pair) and choose Save. PuTTY automatically adds the .ppk file extension.

Step 4 - Connect to Linux instance using Putty

Java on Linux
Step 1 - Connect to linux system
Step 2 - Check Java version java -version
Step 3 - Update all packages - sudo yum update
Step 4 - Install java -
java 8 - sudo yum install java-1.8.0-openjdk
java 11 - sudo amazon-linux-extras install java-openjdk11
Info:
You can install multiple java versions and can switch to select a specific version using command
sudo alternatives --config java

If you get Permission Denied
You need to either sudo the command, or change the permissions (chmod) for the /var/lib/alternatives directory and eventually create it if it does not exist

Step 5 - Check Java version java -version

Jenkins on Linux
Install Git on AWS Linux
Jenkinsfile
Create & Run Jenkinsfile
How to get Jenkinsfile from SCM and run in a Jenkins Job
How to clone a SCM Repo using Jenkinsfile
Docker on Linux
Get Katalon Docker Image and Run Katalon Tests
Run Tests on Docker Container from Jenkins Job
Run Tests on Katalon Docker Container using Jenkinsfile Pipeline Script

All Notes - https://drive.google.com/file/d/1JvHTTUjIJJHtEsVyIxeGJWkIUf1AS9Ol/view?usp=sharing
____________________________________________________________
Stories by Raghav - https://automationstepbystep.com/stories/
My Udemy Courses - https://automationstepbystep.com/udemy-discounts/

Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you

You can support my mission for education by sharing this knowledge and helping as many people as you can

If my work has helped you, consider helping any animal near you, in any way you can

Never Stop Learning
Raghav

Видео Katalon Studio Docker Linux Jenkinsfile Pipeline Demo with Examples and practical | Raghav Pal канала Automation Step by Step
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
12 июля 2022 г. 17:12:00
01:25:33
Яндекс.Метрика