Cirrus-ci-docs: Weird task names with variable

Created on 15 Jul 2020  路  7Comments  路  Source: cirruslabs/cirrus-ci-docs

Expected Behavior

"Test on linux", "Test on darwin".

Real Behavior

image

Related Info

  • [x] Task issue

    • OS: DockerLinux, macOS

    • Task name: Test on $CIRRUS_OS

    • Script/cache name (if applies): see at links below.

https://cirrus-ci.com/build/6466879940198400

https://github.com/filewatcher/filewatcher/pull/131

bug

All 7 comments

Looks like it matched $CI instead of $CIRRUS_OS.

Try wrapping it in curly braces

I think, it should stop match by non-word symbols, something like /(\$[A-Z_])[^A-Z_]/ (not sure about digits in env var names).

The issue was that $CIRRUS_OS variable wasn't available at parsing time. I've added a test and fixed the issue. Should be available in ~1 hour.

Thank you!

I confirm it fixed:

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iskakaushik picture iskakaushik  路  5Comments

pzahemszky picture pzahemszky  路  5Comments

hilbix picture hilbix  路  3Comments

aslushnikov picture aslushnikov  路  5Comments

asomers picture asomers  路  3Comments