Jenkins
This commit is contained in:
27
Jenkinsfile
vendored
27
Jenkinsfile
vendored
@@ -1,14 +1,23 @@
|
|||||||
pipeline {
|
node {
|
||||||
agent any
|
stage('Checkout') {
|
||||||
stages {
|
checkout scm
|
||||||
stage('Build') {
|
}
|
||||||
steps {
|
pipeline {
|
||||||
echo 'Construindo o projeto...'
|
agent {
|
||||||
|
dockerfile {
|
||||||
|
filename 'Dockerfile' // Nome do Dockerfile (se for diferente, modifique aqui)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deploys') {
|
stages {
|
||||||
steps {
|
stage('Build') {
|
||||||
echo 'DEploy o projeto...'
|
steps {
|
||||||
|
echo 'Construindo o projeto...'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Deploys') {
|
||||||
|
steps {
|
||||||
|
echo 'DEploy o projeto...'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user