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

use of imported variable #12

Open
biconix opened this issue Sep 30, 2021 · 0 comments
Open

use of imported variable #12

biconix opened this issue Sep 30, 2021 · 0 comments

Comments

@biconix
Copy link

biconix commented Sep 30, 2021

this extension looks like it is exactly what i need.

But i am stuck in how to access the variable that is created?

I have a JSON file:
{
"IncludeAllSolutions": true
}

in my Build Pipeline, I created a second agent that uses the executes only if the variable is true.

i can see that the variable is created in the first agent:

Injecting variable : test_IncludeAllSolutions, value : true
(node:2024) Warning: Use Cipheriv for counter mode of aes-256-ctr

when the second agent starts it evaluates the value of the variable:

3 queue time variables used
Expanded: eq('test_IncludeAllSolutions', True)
Result: False

Why is the result false?

What am I doing wrong?

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