소스 검색

Added Jenkinsfile

master
J_Hayward 8 달 전
부모
커밋
a14527eaa2
1개의 변경된 파일16개의 추가작업 그리고 1개의 파일을 삭제
  1. 16
    1
      Jenkinsfile

+ 16
- 1
Jenkinsfile 파일 보기

@@ -3,7 +3,22 @@ pipeline {
stages {
stage('Test') {
steps {
echo 'Test success'
sh '''export PATH=$PATH:/var/jenkins_home
terraform init'''
}
}

stage('Plan') {
steps {
sh '''export PATH=$PATH:/var/jenkins_home
terraform plan'''
}
}

stage('Apply') {
steps {
sh '''export PATH=$PATH:/var/jenkins_home
terraform apply -auto-approve'''
}
}


Loading…
취소
저장