Browse Source

Added Jenkinsfile

master
devopscd7c 8 months ago
parent
commit
eefd8e4a82
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      Jenkinsfile

+ 7
- 0
Jenkinsfile View File

@@ -23,5 +23,12 @@ terraform apply -auto-approve'''
}
}

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

}
}

Loading…
Cancel
Save