Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-8418

DO400-42: Ch05s02: Basic Declarative Pipleline doesn't work

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • DO400 - OCP4.6-en-5-20211123
    • DO400
    • None
    • 5
    • en-US (English)

      URL:
      Reporter RHNID: minamot
      Section: 5.2 - Guided Exercise: Building a Basic Declarative Pipeline
      Language: en-US (English)||||||||
      Workaround:

      Description: The Chapter 5 first BE doesn't seems to be working in RHLS.

      Folloing the GE instructions, I input the 'hello-pipleline' as below:

      pipeline {
         agent any

         stages {
            stage('Hello') {
               steps

      Unknown macro: {             echo 'Hello World'          }

            }
         }
      }

       
      After the build, I got the below console log:

      Started by user bmxzjb
      Running in Durability level: MAX_SURVIVABILITY
      [Pipeline] Start of Pipeline
      [Pipeline] End of Pipeline
      Finished: SUCCESS

      As it shows, the log doesn't have 'Hello World' line.
       
      There is no stage view for this in the Jenkins console:

      This may or may not be related to this case, but the following administrative monitor message was given.
       

      Please look at this issue I raised here and fix it if it came from the plugin issues. 

              rht-zgutterman Zachary Gutterman
              minamot Fusayuki Minamoto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: