Skip to content

Commit

Permalink
Shuffled a few URLs around
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed May 16, 2019
1 parent 944f205 commit b8d6ca2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions services/jenkins/jenkins-coverage.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ const t = (module.exports = require('../tester').createServiceTester())
// https://wiki.jenkins.io/pages/viewpage.action?pageId=58001258

t.create('jacoco: job found')
.get('/jacoco/https/builds.apache.org/job/Derby-JaCoCo.json')
.get('/jacoco/https/wso2.org/jenkins/view/All%20Builds/job/archetypes.json')
.expectBadge({ label: 'coverage', message: isIntegerPercentage })

t.create('jacoco: job not found')
.get('/jacoco/https/builds.apache.org/job/does-not-exist.json')
.get('/jacoco/https/wso2.org/jenkins/job/does-not-exist.json')
.expectBadge({ label: 'coverage', message: 'job or coverage not found' })

t.create('cobertura: job not found')
.get('/cobertura/https/builds.apache.org/job/does-not-exist.json')
.get('/cobertura/https/jenkins.sqlalchemy.org/job/does-not-exist.json')
.expectBadge({ label: 'coverage', message: 'job or coverage not found' })

t.create('cobertura: job found')
.get('/cobertura/https/builds.apache.org/job/olingo-odata4-cobertura.json')
.get('/cobertura/https/jenkins.sqlalchemy.org/alembic_coverage.json')
.expectBadge({ label: 'coverage', message: isIntegerPercentage })
2 changes: 1 addition & 1 deletion services/jenkins/jenkins-tests.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ t.create('Test status on job with no tests')
.expectBadge({ label: 'tests', message: 'no tests found' })

t.create('Test status on non-existent job')
.get('/https/updates.jenkins-ci.org/job/does-not-exist.json')
.get('/https/ci.eclipse.org/openj9/job/does-not-exist.json')
.expectBadge({ label: 'tests', message: 'instance or job not found' })

0 comments on commit b8d6ca2

Please sign in to comment.