Skip to content

Commit

Permalink
Merge pull request #2630 from cyberark/authn-k8s-fix
Browse files Browse the repository at this point in the history
Move standard rspec tests into seperate step
  • Loading branch information
doodlesbykumbi authored Aug 11, 2022
2 parents 8810903 + d7fa67b commit 87fc902
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,13 @@ pipeline {
}
}

// Run outside parallel block to avoid external pressure
stage('Run standard rspec tests') {
steps {
sh 'ci/test rspec'
}
}

// Run outside parallel block to reduce main Jenkins executor load.
stage('Nightly Only') {
when {
Expand All @@ -282,6 +289,8 @@ pipeline {
unstash 'version_info'
// Catch errors so remaining steps always run.
catchError {
sh script: "ci/test rspec", label: "Standard rspec tests"

runConjurTests(params.RUN_ONLY)
}

Expand Down Expand Up @@ -755,9 +764,6 @@ def testShouldRun(run_only_str, test) {
def runConjurTests(run_only_str) {

all_tests = [
"rspec": [
"RSpec - ${env.STAGE_NAME}": { sh 'ci/test rspec' }
],
"authenticators_config": [
"Authenticators Config - ${env.STAGE_NAME}": {
sh 'ci/test authenticators_config'
Expand Down

0 comments on commit 87fc902

Please sign in to comment.