This commit is contained in:
parent
6181a8f35e
commit
0fe9373c56
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -9,15 +9,19 @@ pipeline {
|
|||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Clone repository') {
|
stage('Clone repository') {
|
||||||
|
steps{
|
||||||
/* Let's make sure we have the repository cloned to our workspace */
|
/* Let's make sure we have the repository cloned to our workspace */
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Build image') {
|
stage('Build image') {
|
||||||
|
steps{
|
||||||
/* This builds the actual image; synonymous to
|
/* This builds the actual image; synonymous to
|
||||||
* docker build on the command line */
|
* docker build on the command line */
|
||||||
app = docker.build("jcabillot/jenkins-wdocker")
|
app = docker.build("jcabillot/jenkins-wdocker")
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Deploy Image') {
|
stage('Deploy Image') {
|
||||||
steps{
|
steps{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user