mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
Merge branch '2019.2.1' into tcp_leak
This commit is contained in:
commit
3125cd3e66
4
.ci/docs
4
.ci/docs
@ -8,8 +8,8 @@ properties([
|
|||||||
|
|
||||||
def shell_header
|
def shell_header
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('docs') {
|
||||||
node('docs') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
ansiColor('xterm') {
|
ansiColor('xterm') {
|
||||||
timestamps {
|
timestamps {
|
||||||
try {
|
try {
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,8 +17,8 @@ properties([
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
timeout(time: global_timeout, unit: 'HOURS') {
|
node('kitchen-slave') {
|
||||||
node('kitchen-slave') {
|
timeout(time: global_timeout, unit: 'HOURS') {
|
||||||
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
withCredentials([[$class: 'AmazonWebServicesCredentialsBinding',
|
||||||
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
accessKeyVariable: 'AWS_ACCESS_KEY_ID',
|
||||||
credentialsId: 'AWS_ACCESS_KEY_ID',
|
credentialsId: 'AWS_ACCESS_KEY_ID',
|
||||||
@ -54,11 +54,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
stage('checkout-scm') {
|
stage('checkout-scm') {
|
||||||
cleanWs notFailBuild: true
|
cleanWs notFailBuild: true
|
||||||
checkout scm
|
checkout scm
|
||||||
|
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup the kitchen required bundle
|
// Setup the kitchen required bundle
|
||||||
stage('setup-bundle') {
|
stage('setup-bundle') {
|
||||||
sh 'git fetch --no-tags https://github.com/saltstack/salt.git +refs/heads/${SALT_TARGET_BRANCH}:refs/remotes/origin/${SALT_TARGET_BRANCH}'
|
|
||||||
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
sh 'bundle install --with ec2 windows --without docker macos opennebula vagrant'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,11 +76,11 @@ timeout(time: global_timeout, unit: 'HOURS') {
|
|||||||
try {
|
try {
|
||||||
timeout(time: testrun_timeout, unit: 'HOURS') {
|
timeout(time: testrun_timeout, unit: 'HOURS') {
|
||||||
stage('Converge VM') {
|
stage('Converge VM') {
|
||||||
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen converge $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
stage('Run Tests') {
|
stage('Run Tests') {
|
||||||
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
withEnv(["DONT_DOWNLOAD_ARTEFACTS=1"]) {
|
||||||
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM'
|
sh 'bundle exec kitchen verify $TEST_SUITE-$TEST_PLATFORM; echo "ExitCode: $?;"'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user