mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
only fetch pr target branch instead of all branches to save time and disk space
This commit is contained in:
parent
ccc61060a0
commit
928b05f863
13 changed files with 13 additions and 0 deletions
|
@ -51,6 +51,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -51,6 +51,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -51,6 +51,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -51,6 +51,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -51,6 +51,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -51,6 +51,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -51,6 +51,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -51,6 +51,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -51,6 +51,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -51,6 +51,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -51,6 +51,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -50,6 +50,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
|
@ -50,6 +50,7 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||
try {
|
||||
// Setup the kitchen required bundle
|
||||
stage('setup-bundle') {
|
||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${CHANGE_TARGET}:refs/remotes/origin/${CHANGE_TARGET}'
|
||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||
}
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue