✨ 新功能: - 一键自动化部署脚本 (build-infra.sh) - 统一端口配置 (3开头端口,避免冲突) - 多平台Docker构建支持 (AMD64 + ARM64) - Jenkins Configuration as Code (零手动配置) - 完整的服务验证和健康检查 🏗️ 核心组件: - Jenkins LTS + JDK21 (端口38080) - Gitea 1.21 (端口33000, SSH: 32222) - Docker Registry + UI (端口35001/35002) - 统一cicd-network网络 📋 管理工具: - 自动化部署和验证脚本 - 健康检查和日志管理工具 - 完整的文档和故障排查指南 🎯 已验证功能: - 所有服务正常启动和运行 - API和Web界面完全可访问 - 多平台构建环境就绪 - 完整的CI/CD流水线支持 适用环境: Mac Studio M2 + Docker Desktop
34 lines
794 B
Bash
Executable File
34 lines
794 B
Bash
Executable File
#!/bin/bash
|
|
# Jenkins插件安装脚本
|
|
|
|
PLUGINS=(
|
|
"configuration-as-code:latest"
|
|
"job-dsl:latest"
|
|
"pipeline-stage-view:latest"
|
|
"blueocean:latest"
|
|
"gitea:latest"
|
|
"docker-plugin:latest"
|
|
"docker-workflow:latest"
|
|
"credentials-binding:latest"
|
|
"timestamper:latest"
|
|
"ws-cleanup:latest"
|
|
"build-timeout:latest"
|
|
"generic-webhook-trigger:latest"
|
|
"pipeline-utility-steps:latest"
|
|
"http_request:latest"
|
|
"email-ext:latest"
|
|
"maven-plugin:latest"
|
|
"gradle:latest"
|
|
"nodejs:latest"
|
|
"python:latest"
|
|
)
|
|
|
|
echo "推荐安装的插件列表:"
|
|
for plugin in "${PLUGINS[@]}"; do
|
|
echo "- $plugin"
|
|
done
|
|
|
|
echo ""
|
|
echo "在Jenkins管理界面中,进入 '管理Jenkins' -> '插件管理' -> '可选插件'"
|
|
echo "搜索并安装上述插件"
|