- 已编辑
https://kubesphere.com.cn/docs/devops-user-guide/how-to-use/create-a-pipeline-using-jenkinsfile/
这个链接还是404看不到文档
3.0版本请问如何使用kubesphere部署springboot项目
目前已经可以拉取代码然后执行jenkinsfile来打印一些日志
pipeline {
agent any
stages {
stage('Build') {
steps {
echo '----构建----'
}
}
stage('Deploy') {
steps {
echo '----部署----'
}
}
}
}
但是不清楚该如何对项目进行构建以及部署,能否给个jenkinsfile部署springboot的模板
另外我看了2.x版本的部署,是否必须用到dockerhub?之前部署到docker都是使用sh命令来本地创建镜像的