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
1cfbcadba9
commit
e50e4b4da4
4
smarketing-ai/deployment/Jenkinsfile
vendored
4
smarketing-ai/deployment/Jenkinsfile
vendored
@ -47,7 +47,7 @@ podTemplate(
|
||||
if (!changes.contains("smarketing-ai/")) {
|
||||
echo "No changes in smarketing-ai, skipping build"
|
||||
currentBuild.result = 'SUCCESS'
|
||||
return
|
||||
error("Stopping pipeline - no changes detected")
|
||||
}
|
||||
|
||||
echo "Changes detected in smarketing-ai, proceeding with build"
|
||||
@ -144,7 +144,7 @@ podTemplate(
|
||||
kubectl apply -f smarketing-ai/deployment/${manifest}
|
||||
|
||||
echo "Waiting for smarketing deployment to be ready..."
|
||||
kubectl -n ${namespace} wait --for=condition=available smarketing-ai/smarketing --timeout=300s
|
||||
kubectl -n ${namespace} wait --for=condition=available smarketing-ai/deployment/smarketing --timeout=300s
|
||||
|
||||
echo "=========================================="
|
||||
echo "Getting LoadBalancer External IP..."
|
||||
|
||||
2
smarketing-java/deployment/Jenkinsfile
vendored
2
smarketing-java/deployment/Jenkinsfile
vendored
@ -51,7 +51,7 @@ podTemplate(
|
||||
if (!changes.contains("smarketing-java/")) {
|
||||
echo "No changes in smarketing-java, skipping build"
|
||||
currentBuild.result = 'SUCCESS'
|
||||
return
|
||||
error("Stopping pipeline - no changes detected")
|
||||
}
|
||||
|
||||
echo "Changes detected in smarketing-java, proceeding with build"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user