• This project
    • Loading...
  • Sign in

André Silva Paulino / CICD-teste

Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • CICD-teste
  • jenkins
  • Jenkinsfile
  • Adicionando mais um estágio no pipeline · 59b7ac68
    59b7ac68 Browse Files
    André Silva Paulino authored 2023-03-05 12:29:26 -0300
Jenkinsfile 334 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
pipeline {
  agent any
  stages {
    stage('Echo') {
      steps {
        echo 'Olá, este é um exemplo de um Jenkinsfile!'
      }
    }
    stage('Escrever') {
      steps {
        script {
          def mensagem = 'O Jenkins é incrível!'
          writeFile file: 'mensagem.txt', text: mensagem
        }
      }
    }
  }
}