Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
pipeline {
agent any

stages{
stage("one"){
steps{
echo 'step 1'
sleep 3
}
}
stage("two"){
steps{
echo 'step 2'
sleep 9
}
}
stage("three"){

when{
branch 'master'
changeset "**/worker/**"
}
steps{
echo 'step 3'
sleep 5
}
}
}

post{
always{
echo 'This pipeline is completed.'
}
}
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@ Note
----

The voting application only accepts one vote per client. It does not register votes if a vote has already been submitted from a client.
test pull branch
12 changes: 12 additions & 0 deletions worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,15 @@
</plugins>
</build>
</project>