Skip to content

Commit

Permalink
#7002: Added Queued job Int to Long conversion and made all build var…
Browse files Browse the repository at this point in the history
…iables Longs for full test
  • Loading branch information
michaelepperson committed Jan 27, 2025
1 parent 194ba20 commit 00f1344
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ class QueuedJob {
QueuedExecutable executable

@XmlElement(name = 'number')
Integer getNumber() {
Long getNumber() {
return executable?.number
}
}


class QueuedExecutable {
@XmlElement
Integer number
Long number
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ class BuildControllerSpec extends Specification {
def TRAVIS_SERVICE = 'TRAVIS_SERVICE'
def HTTP_201 = 201
def BUILD_NUMBER = 123456789012
def BUILD_ID = 654321
def QUEUED_JOB_NUMBER = 123456
def BUILD_ID = 654321098765
def QUEUED_JOB_NUMBER = 123456789012
def JOB_NAME = "job/name/can/have/slashes"
def SIMPLE_JOB_NAME = "simpleJobName"
def PENDING_JOB_NAME = "pendingjob"
Expand Down

0 comments on commit 00f1344

Please sign in to comment.