Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Give any simple example of jenkins script.



Give any simple example of jenkins script...

Answer / Aishwarya Kapik

A simple Jenkins script using the Groovy syntax could be a build step that executes a shell command: n`pipeline {n agent anyn stages {n stage('Build') {n steps {n sh 'echo Hello, World!'n }n }n }n}`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Jenkins Interview Questions

What is scm? Which scm tools are supported in jenkins?

1 Answers  


How will you define post in jenkins?

1 Answers  


What is blue ocean in jenkins?

1 Answers  


What are the advantages of jenkins? Why we use jenkins?

1 Answers  


How you can set up jenkins job?

1 Answers  


What is maven and what is jenkins?

1 Answers  


How does jenkins authenticate users?

1 Answers  


What is the use of backup plugin?

1 Answers  


what is continuous integration?

1 Answers  


How schedule a build in jenkins?

1 Answers  


Give an example of how the repository is polled when a new commit is detected.

1 Answers  


Mention some of the important plugins in jenkins?

1 Answers  


Categories