Lalindu
Lalindu

Reputation: 349

Where does the Azure DevOps/TFS cache extensions data

I have developed Azure DevOps extension and published it to marketplace. Recently I have came across mandatory UI changes. While performing dev testing, I have noticed that once I install new extension (with UI changes) it still showing old UI components. For example, let’s say I have string input named “Name” and I have replaced it with “Full Name”. I still see my old input which is “Name”.

Old :

{
            "name": "name",
            "type": "string",
            "label": "Name",
            "required": true            
}

New:

{
            "name": "fullName",
            "type": "string",
            "label": "Full Name",
            "required": true            
}

I removed temp files under below locations, but issue persists.

I have changed the task id (GUID) and it seems resolving this issue. But this is not viable solution as I cannot issue new task id for already published extension.

Due to this reason I believe best option to resolve this issue is deleting cached data. Please let me know, Where does the Azure DevOps / TFS cache it’s extension data?

Thanks in Advance!

Upvotes: 2

Views: 1138

Answers (2)

Nikita Kuzin
Nikita Kuzin

Reputation: 33

For me solution with updating task version and removing browser cache didn't work. I found the DistributedTask folder in one of subfolders in the root cache folder. In my case it was cache_root_folder/<some_uuid>/Proxy/<another_uuid>/DistrebutedTask/. I dont know what these UUIDs mean and found this path just accidentally. Removing all from this folder helped.

Upvotes: 1

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31003

Try to clean the browser cache, and check whether you have increase the version number in the task.json.

Also, try to Delete task -- Save definition -- add task again, which should help.

Upvotes: 1

Related Questions