screwdriver icon indicating copy to clipboard operation
screwdriver copied to clipboard

screwdriver.cd/displayName is parsed as numeric value

Open y-oksaku opened this issue 5 months ago • 0 comments

What happened:

screwdriver.cd/displayName is parsed as Numeric value when it is not enclosed double quote. Then the value converts exponential form if it is huge value.

ex
jobs:
  test:
    image: node:18
    requires: [ ~commit, ~pr ]
    steps:
      - test: echo "foo"
    annotations:
      screwdriver.cd/displayName: 123456789012345678901234567890

What you expected to happen:

displayName value is always parsed as String.

How to reproduce it:

Set numeric value into displayName. (e.g. 12345, 0.12345 NOT "123")

y-oksaku avatar Sep 06 '24 06:09 y-oksaku