The pipeline program in to test hello world

pipeline{
agent any

     stages{
        stage(“test”){
           steps{
              bat"HELLO WORLD"
           }
        }
     }
 }

Jenkins setup:

Hi @nagaraj2! Welcome to the Jenkins community.

It looks like you’ve set up a basic Declarative Pipeline. Are you running into a specific error when you run this?

One quick tip: I see you are using the bat step. Keep in mind that bat only works on Windows-based agents. If your Jenkins server or agent is running on Linux/macOS, you should use the sh step instead:

Groovy

steps {
    sh 'echo "HELLO WORLD"'
}

Let us know what your ‘Jenkins setup’ details are or if you’re seeing any specific logs in the console output!