Skip to content
Closed
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
3 changes: 3 additions & 0 deletions result/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ pipeline{
}
}
stage("test"){
when{
changeset "**/result/**"
}
steps{
echo "Testing worker app....."
dir("result"){
Expand Down
10 changes: 10 additions & 0 deletions worker/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ pipeline{
}
stages{
stage("build"){
when{
changeset "**/worker/**"
}
steps{
echo "Building worker app....."
dir("worker"){
Expand All @@ -14,6 +17,9 @@ pipeline{
}
}
stage("test"){
when{
changeset "**/worker/**"
}
steps{
echo "Testing worker app....."
dir("worker"){
Expand All @@ -22,6 +28,10 @@ pipeline{
}
}
stage("package"){
when{
changeset "**/worker/**"
branch 'master'
}
steps{
echo "Packaging worker app....."
dir("worker"){
Expand Down