Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pipeline {
agent any

agent {
label "vinod"
}
parameters {
booleanParam(name: 'autoApprove', defaultValue: false, description: 'Automatically run apply after generating plan?')
choice(name: 'action', choices: ['apply', 'destroy'], description: 'Select the action to perform')
Expand All @@ -15,7 +16,7 @@ pipeline {
stages {
stage('Checkout') {
steps {
git branch: 'main', url: 'https://github.com/CodeSagarOfficial/jenkins-scripts.git'
git branch: 'sprint1_dev', url: 'https://github.com/surajssr435/terraform-jenkins-pipeline.git'
}
}
stage('Terraform init') {
Expand Down Expand Up @@ -50,4 +51,4 @@ pipeline {
}

}
}
}