Skip to content

Commit

Permalink
chore: update git to only pull master branch for deployment tests (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Schmidt authored Jun 20, 2022
1 parent cf655d0 commit bc0b093
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion extras/jenkins/AWS/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pipeline {

stage('Checkout Scm') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '**']], extensions: [[$class: 'CheckoutOption'],
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [[$class: 'CheckoutOption'],
[$class: 'CloneOption', noTags: false, reference: '', shallow: false],
[$class: 'SubmoduleOption', disableSubmodules: false, parentCredentials: false,
recursiveSubmodules: true, reference: '', trackingSubmodules: false]],
Expand Down
2 changes: 1 addition & 1 deletion extras/jenkins/DigitalOcean/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pipeline {

stage('Checkout Scm') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '**']], extensions: [[$class: 'CheckoutOption'],
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [[$class: 'CheckoutOption'],
[$class: 'CloneOption', noTags: false, reference: '', shallow: false],
[$class: 'SubmoduleOption', disableSubmodules: false, parentCredentials: false,
recursiveSubmodules: true, reference: '', trackingSubmodules: false]],
Expand Down
2 changes: 1 addition & 1 deletion extras/jenkins/K3S/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {

stage('Checkout Scm') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '**']], extensions: [[$class: 'CheckoutOption'],
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [[$class: 'CheckoutOption'],
[$class: 'CloneOption', noTags: false, reference: '', shallow: false],
[$class: 'SubmoduleOption', disableSubmodules: false, parentCredentials: false,
recursiveSubmodules: true, reference: '', trackingSubmodules: false]],
Expand Down
2 changes: 1 addition & 1 deletion extras/jenkins/Linode/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pipeline {

stage('Checkout Scm') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '**']], extensions: [[$class: 'CheckoutOption'],
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [[$class: 'CheckoutOption'],
[$class: 'CloneOption', noTags: false, reference: '', shallow: false],
[$class: 'SubmoduleOption', disableSubmodules: false, parentCredentials: false,
recursiveSubmodules: true, reference: '', trackingSubmodules: false]],
Expand Down
2 changes: 1 addition & 1 deletion extras/jenkins/MicroK8s/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {

stage('Checkout Scm') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '**']], extensions: [[$class: 'CheckoutOption'],
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [[$class: 'CheckoutOption'],
[$class: 'CloneOption', noTags: false, reference: '', shallow: false],
[$class: 'SubmoduleOption', disableSubmodules: false, parentCredentials: false,
recursiveSubmodules: true, reference: '', trackingSubmodules: false]],
Expand Down
2 changes: 1 addition & 1 deletion extras/jenkins/Minikube/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pipeline {

stage('Checkout Scm') {
steps {
checkout([$class: 'GitSCM', branches: [[name: '**']], extensions: [[$class: 'CheckoutOption'],
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [[$class: 'CheckoutOption'],
[$class: 'CloneOption', noTags: false, reference: '', shallow: false],
[$class: 'SubmoduleOption', disableSubmodules: false, parentCredentials: false,
recursiveSubmodules: true, reference: '', trackingSubmodules: false]],
Expand Down

0 comments on commit bc0b093

Please sign in to comment.