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

String value in RFC3339 date format is changed #54

Open
MarianSimo opened this issue Aug 16, 2024 · 2 comments
Open

String value in RFC3339 date format is changed #54

MarianSimo opened this issue Aug 16, 2024 · 2 comments

Comments

@MarianSimo
Copy link

MarianSimo commented Aug 16, 2024

Hello folks,

Having issue with string variable with value of date in RFC3339 format. Replace Token modify this string from RFC3339 to computer date time format. The final replacement has been modified to wrong format.

Example:
The source Azure DevOps variable:
image

Replace task with modified values
image

Reading variables directly from dev ops by pipeline:

image

I need to replace string as is written in devops variable into target without any modification (1 to 1).

@qetza
Copy link
Owner

qetza commented Aug 17, 2024

Hi @MarianSimo,
Unfortunately this is not a bug from the task but from the SDK, the issue was already raised but so far no fix:
microsoft/azure-pipelines-agent#4530

One workaround seems to set those variables as secrets.

@MarianSimo
Copy link
Author

Thank you for the answer. The secret can be a way. Thank you

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

2 participants