Let's start by creating our first pipeline. We have to log in to our web console and navigate to Add to project | Import YAML.
In order to do that, we have to go the web console's main web page and navigate to Add to Project | Import YAML/Json and enter the following script there:
apiVersion: v1kind: BuildConfigmetadata: name: pricing-service-pipeline labels: name: pricing-service-pipelinespec: runPolicy: Serial strategy: type: JenkinsPipeline jenkinsPipelineStrategy: jenkinsfile:"pipeline { \n agent any\n stages {\n stage('Build') {\n steps {\n echo 'Pipeline is running'\n }\n }\n }\n }\n"
After the script is created, we can click on the Create button:
Before we look further at the pipeline code, let's note the other ...