젠킨스 수정
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -65,7 +65,7 @@ print('All files OK')
|
||||
|
||||
echo "=== Building Docker Images ==="
|
||||
cd ${DEPLOY_DIR}
|
||||
docker-compose build --no-cache backend mcp-server frontend
|
||||
docker-compose build backend mcp-server frontend
|
||||
"""
|
||||
}
|
||||
}
|
||||
@@ -100,7 +100,7 @@ print('All files OK')
|
||||
steps {
|
||||
sh """
|
||||
cd ${DEPLOY_DIR}
|
||||
docker-compose exec -T backend alembic upgrade head 2>/dev/null || echo "Migration skipped (no pending)"
|
||||
docker-compose exec -T backend alembic upgrade head || echo "WARNING: Migration failed!"
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user