mirror of
https://github.com/won-ktds/smarketing-backend.git
synced 2025-12-06 07:06:24 +00:00
refactor: Jenkinsfile - Check Changes 변경
This commit is contained in:
parent
8562c15062
commit
e3d368fcb4
8
smarketing-java/deployment/Jenkinsfile
vendored
8
smarketing-java/deployment/Jenkinsfile
vendored
@ -48,15 +48,13 @@ podTemplate(
|
|||||||
returnStdout: true
|
returnStdout: true
|
||||||
).trim()
|
).trim()
|
||||||
|
|
||||||
echo "Changed files: ${changes}"
|
if (!changes.contains("smarketing-java/")) {
|
||||||
|
echo "No changes in smarketing-java, skipping build"
|
||||||
if (!changes.contains("smarketing-ai/")) {
|
|
||||||
echo "No changes in smarketing-ai, skipping build"
|
|
||||||
currentBuild.result = 'SUCCESS'
|
currentBuild.result = 'SUCCESS'
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Changes detected in smarketing-ai, proceeding with build"
|
echo "Changes detected in smarketing-java, proceeding with build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user