Cyber Deals - Get up to 65% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

Running Jenkins Pipelines on OpenShift

Running Jenkins Pipelines on OpenShift

1. Deploy Jenkins in OpenShift

## Check available jenkins template
$ oc get templates -n openshift | grep jenkins

## Create a new project
$ oc new-project jenkins-project

## Deploy jenkins and wait for the deployment up and running
$ oc new-app  --as-deployment-config \
> jenkins-ephemeral -p MEMORY_LIMIT=2048Mi

$ oc get pod
## find the jenkins app url
$ oc get route

Login with OpenShift credentials and Authorize Access.

Configure App Project

## create project for app
$ oc new-project cicd-app-demo

## de
Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.
Share:

Related Posts

Ansible Tower - Load Balancing

Ansible Tower - Load Balancing

1. Ansible Tower Installation 1. Ansible Tower Installation 1.1. Ansible Tower Installation and Reference Guide v3.6.1 1.2. Ansible Tower Quick …

CI/CD Practices

CI/CD Practices

Collection of articles on CI/CD implementation using Jenkins, GitHub Actions, GitLab CICD and different container registries.

Ansible Automation Platform - CLI Cheat Sheet

Ansible Automation Platform - CLI Cheat Sheet

AAP CLI Commands $ aap-gateway-manage update_password --username='<username>' --password='<password>' # For containerized …

Cloud

AWS Summit Online - 2020

Hands on Labs Build, Run and Deploy a Containerized Web Application using Docker and Amazon Elastic Container Service (ECS) - …

Container

Container Tips

How to install ping utility inside container ? How to allow continers to execute ping ? Error - “/” is not a shared mount How to install …

Cloud

Ansible AWX Installation

Ref: Ansible AWX Project Introduction to Ansible AWX Project AWX Command Line Interface 3. Install AWX Using Ansible 3.1. Configure AWX Node for …