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:54:26 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bfba487d68bf5ed6c3d87849c85f336b00ceebe8
bfba487d
1 parent
809677b2
Adicionando mais um estágio no pipeline
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
jenkins/Jenkinsfile
jenkins/Jenkinsfile
View file @
bfba487
pipeline {
agent any
stages {
stage('STAGE 00') {
steps {
echo 'Olá, este é um exemplo de um Jenkinsfile!'
}
agent any
stages {
stage('Build') {
steps {
sh 'npm install'
sh 'npm run build'
}
}
stage('Test') {
steps {
sh 'npm test'
}
}
stage('Deploy') {
steps {
sh 'npm deploy'
}
}
}
stage('STAGE 01') {
steps {
echo 'Olá, este é um exemplo de um Jenkinsfile!'
}
}
}
}
...
...
Please
register
or
login
to post a comment