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... ») |
|||
| Line 1: | Line 1: | ||
=Plugins= | |||
* Pipeline | |||
=Continuous Delivery Pipeline= | =Continuous Delivery Pipeline= | ||
Jenkins have created the concept of "Pipeline As Code" | Jenkins have created the concept of "Pipeline As Code" | ||
==Sample== | |||
<source lang="JSON"> | <source lang="JSON"> | ||
Jenkinsfile (Declarative Pipeline) | Jenkinsfile (Declarative Pipeline) | ||
| Line 26: | Line 30: | ||
} | } | ||
</source> | </source> | ||
=Create a Pipeline= | |||
Revision as of 17:02, 22 November 2019
Plugins
- Pipeline
Continuous Delivery Pipeline
Jenkins have created the concept of "Pipeline As Code"
Sample
<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>