diff --git a/Jenkinsfile b/Jenkinsfile index 23b3c5b..e6b6ecd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,14 +1,23 @@ -pipeline { - agent any - stages { - stage('Build') { - steps { - echo 'Construindo o projeto...' +node { + stage('Checkout') { + checkout scm + } + pipeline { + agent { + dockerfile { + filename 'Dockerfile' // Nome do Dockerfile (se for diferente, modifique aqui) } } - stage('Deploys') { - steps { - echo 'DEploy o projeto...' + stages { + stage('Build') { + steps { + echo 'Construindo o projeto...' + } + } + stage('Deploys') { + steps { + echo 'DEploy o projeto...' + } } } }