![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FdzKdVn%2FbtsBTXtvgcX%2FMSGgkWWi1cP9yhm4rF6Iak%2Fimg.png)
이전 글 처럼 간단하게 스크립트 실행만 해줘도 되지만 실행이 완료 / 실패 상관없이 pipline이 완료가 된다. deploy.sh 파일의 실행 로그를 보려면 verbose 옵션을 주어야 한다. pipeline { agent any stages { stage('Clone') { steps { script { git branch: 'develop', credentialsId: 'github', url: 'https://github.com/sudosoo/ElasitcKafka.git' } } } stage('ConfigAppender') { steps { script { sshagent(credentials: ['ssh_key']) { def workspaceDir = "${JENKINS_HOME}/work..