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