Skip to content

Conversation

jaredstehler
Copy link

in order to support build numbers which are not strict integers (i.e. "123.1")

spinnaker/spinnaker#6743

@dbyron-sf
Copy link
Contributor

LGTM, but would like to make sure the orca and igor PRs ready and have them go in "at the same time."


BuildEvent createBuildEventWith(BuildEvent.Result result) {
def build = result ? new BuildEvent.Build(result == BUILDING, 1, result, null, []) : null
def build = result ? new BuildEvent.Build(result == BUILDING, '1', result, null, []) : null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUPER minor, but what about adding a test for a non-numeric build number as well as a numeric build number? :P And maybe a call out/comment on why? I like this overall though!

in order to support build numbers which are not strict integers (i.e. "123.1")
@jaredstehler jaredstehler force-pushed the build-number-tostring branch from eb83cd5 to dba230c Compare February 9, 2023 16:10
@jaredstehler
Copy link
Author

can this be merged yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants