-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathJenkinsfile
More file actions
26 lines (22 loc) · 835 Bytes
/
Jenkinsfile
File metadata and controls
26 lines (22 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env groovy
pipeline {
agent any
parameters {
string(name: 'AWS_ACCESS_KEY_ID', description: 'The AWS Access Key ID to use.')
string(name: 'AWS_SECRET_ACCESS_KEY', description: 'The AWS Secret Access Key to use.')
string(name: 'AWS_DEFAULT_REGION', description: 'The AWS Region to use for deployment.')
// BEGINNING OF JENKINS-PIPELINE-PARAMS-FROM-TERRAFORM-INPUT-VARS PRE-COMMIT HOOK
// END OF JENKINS-PIPELINE-PARAMS-FROM-TERRAFORM-INPUT-VARS PRE-COMMIT HOOK
}
stages {
stage('Init') {
steps {
echo "Create the stack's terraform.tfvars.json."
script {
// BEGINNING OF JENKINS-PIPELINE-PARAMS-TO-TERRAFORM-TFVARS-JSON PRE-COMMIT HOOK
// END OF JENKINS-PIPELINE-PARAMS-TO-TERRAFORM-TFVARS-JSON PRE-COMMIT HOOK
}
}
}
}
}