Container Infrastructure/Side Project_202108
15. Jenkins
11mia
2021. 8. 30. 01:31
# 로그에서 비밀번호 확인
kubectl logs podID -n jenkins
# 샘플 파이프 라인 작성
# 샘플 스크립트 작성
node {
stage('Ready') {
sh "echo 'Ready'"
}
stage('Build') {
sh "echo 'Build'"
}
stage('Deploy') {
sh "echo 'Deply'"
}
}
# 파이프 라인 실행
# 어디까지 했나
# 참고
https://www.digitalocean.com/community/tutorials/how-to-install-jenkins-on-kubernetes
How To Install Jenkins on Kubernetes | DigitalOcean
Jenkins is a widely-used open source automation server that can set up CI/CD pipelines. In this tutorial, we will install Jenkins on Kubernetes. To demonstrate its power and ease of use, we will then access the Jenkins UI and run a sample pipeline.
www.digitalocean.com