Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

screwdriver.cd/displayName is parsed as numeric value #3190

Open
y-oksaku opened this issue Sep 6, 2024 · 0 comments
Open

screwdriver.cd/displayName is parsed as numeric value #3190

y-oksaku opened this issue Sep 6, 2024 · 0 comments

Comments

@y-oksaku
Copy link
Contributor

y-oksaku commented Sep 6, 2024

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")

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

No branches or pull requests

1 participant