0 votes
in Jenkins by
Give any simple example of Jenkins script.

1 Answer

0 votes
by
This is a Jenkins declarative pipeline code for Java:

pipeline {

    agent

    stages {

          stage('Building your first asset') {

               agent

               steps {

                   echo 'Build asset'

    }

    }

        stage('Test') {

             agent

             steps {

                   echo 'Building project 1'

             }

            }

         }

}

Related questions

0 votes
asked May 30, 2023 in React Hooks by Robindeniel
0 votes
asked May 1, 2021 in Jenkins by rajeshsharma
...