refactor: Jenkinsfile - Check Changes 변경

This commit is contained in:
OhSeongRak 2025-06-17 11:29:39 +09:00
parent 8562c15062
commit e3d368fcb4

View File

@ -48,15 +48,13 @@ podTemplate(
returnStdout: true
).trim()
echo "Changed files: ${changes}"
if (!changes.contains("smarketing-ai/")) {
echo "No changes in smarketing-ai, skipping build"
if (!changes.contains("smarketing-java/")) {
echo "No changes in smarketing-java, skipping build"
currentBuild.result = 'SUCCESS'
return
}
echo "Changes detected in smarketing-ai, proceeding with build"
echo "Changes detected in smarketing-java, proceeding with build"
}
}