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

Incorrect string behaviour if symbol ':' apears #1006

Open
3 tasks
MaxLevs opened this issue Feb 11, 2024 · 0 comments
Open
3 tasks

Incorrect string behaviour if symbol ':' apears #1006

MaxLevs opened this issue Feb 11, 2024 · 0 comments

Comments

@MaxLevs
Copy link

MaxLevs commented Feb 11, 2024

Describe the bug

In .gitlab-ci.yaml files string literal value parsing is broken for some reason. I have a string "Version: [$VERSION] BUID [$CI_PIPELINE_IID]" which contains sybmol :. The part Version: is treated not as part of string but common yaml.

I don't exactly sure if the problem related with this repo or gitlab's.

Expected Behavior

String literal value treats as just string

Current Behavior

Part of string treats as part of yaml

image

Steps to Reproduce

  1. Create a .gitlab-ci.yaml file
  2. Set schema to gitlab-ci
  3. Add script - echo "Build number: $CI_PIPELINE_IID"

Environment

  • Windows
  • Mac
  • Linux
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