Jenkins: Difference between revisions

From My Limbic Wiki
(Page créée avec « =Continuous Delivery Pipeline= Jenkins have created the concept of "Pipeline As Code" <source lang="JSON"> Jenkinsfile (Declarative Pipeline) pipeline { agent any... »)
(No difference)

Revision as of 17:58, 22 November 2019

Continuous Delivery Pipeline

Jenkins have created the concept of "Pipeline As Code"

<source lang="JSON"> Jenkinsfile (Declarative Pipeline) pipeline {

   agent any
   stages {
       stage('Build') {
           steps {
               echo 'Building..'
           }
       }
       stage('Test') {
           steps {
               echo 'Testing..'
           }
       }
       stage('Deploy') {
           steps {
               echo 'Deploying....'
           }
       }
   }

} </source>