Skip to content

Commit

Permalink
Revert "activate crystalball selenium"
Browse files Browse the repository at this point in the history
This reverts commit b7c3250.

Reason for revert: needs more work

Change-Id: Id7ebb79b11315d5ea89b473d9caca837230e6c90
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283268
Reviewed-by: Aaron Ogata <[email protected]>
Tested-by: James Butters <[email protected]>
QA-Review: James Butters <[email protected]>
Product-Review: James Butters <[email protected]>
  • Loading branch information
jbutte committed Feb 1, 2022
1 parent b7c3250 commit e31cacb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile.rspecq
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,24 @@ def computeTestCount() {
// split crystalball_spec
def seleniumTests = specUnique.findAll { it.contains('/selenium') }
def rspecTests = specUnique - seleniumTests
env.CRYSTALBALL_SELENIUM = env.JOB_NAME.endsWith('proofs-of-concept/test-queue') ? '' : seleniumTests.join(' ').trim()
env.CRYSTALBALL_RSPEC = env.JOB_NAME.endsWith('test-suites/test-queue') ? '' : rspecTests.join(' ').trim()
env.CRYSTALBALL_SELENIUM = seleniumTests.join(' ')
env.CRYSTALBALL_RSPEC = rspecTests.join(' ')

summaryMessage = "Map: $mapVersion\n"
// Crystalball predictor returned empty text file
if (specUnique.size() == 0) {
summaryMessage += "No App Code Detected! - Running everything!"
crystalballColor = 'danger'
// Do not run full builds while still testing
env.CRYSTALBALL_SKIP = env.JOB_NAME.endsWith('test-suites/test-queue') ? 'false' : 'true'
env.CRYSTALBALL_SKIP = 'true'
return
}
// Crystalball predictor returned "."
if (specUnique.size() == 1 && specUnique[0] == '.') {
summaryMessage += "New File Detected! - Complete Suite Re-run!"
crystalballColor = 'danger'
// Do not run full builds while still testing
env.CRYSTALBALL_SKIP = env.JOB_NAME.endsWith('test-suites/test-queue') ? 'false' : 'true'
env.CRYSTALBALL_SKIP = 'true'
return
}

Expand Down

0 comments on commit e31cacb

Please sign in to comment.