Toggle navigation
Toggle navigation
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
Authored by
André Silva Paulino
2023-03-05 12:37:09 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
af310d1b127602bf6a00825d3bdb3f7cbd2833e9
af310d1b
1 parent
59b7ac68
Adicionando mais um estágio no pipeline
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
9 deletions
jenkins/Jenkinsfile
jenkins/Jenkinsfile
View file @
af310d1
...
...
@@ -3,15 +3,7 @@ pipeline {
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
}
sh echo 'Olá, este é um exemplo de um Jenkinsfile!'
}
}
}
...
...
Please
register
or
login
to post a comment