Comments (5)
Hi @masheleza - I suspect the issue is permissions. I've updated this doc to show how you can set permissions if you get the permission error.
If the problem is something else, can you please set a release variable system.debug = true
and post the logs for the task?
from cols-agent-tasks.
from cols-agent-tasks.
Managed to get Oauth, now the problem is I can't locate the tag when I go to the VSTS code / repo/ history, I can only see the other tags I created but not the one created on the build/release
from cols-agent-tasks.
@colindembovsky Please above comments and assist if there's anything that I am missing
2017-05-04T12:25:15.5028255Z Starting task: Tag Release
2017-05-04T12:25:15.5028255Z Set workingFolder to default: C:\tfa1\tasks\JSONTokenizer\0.1.154
2017-05-04T12:25:15.7997040Z ##[debug]agent.workFolder=C:\tfa1
2017-05-04T12:25:15.8153470Z ##[debug]loading inputs and endpoints
2017-05-04T12:25:15.8153470Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2017-05-04T12:25:15.8153470Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2017-05-04T12:25:15.8309598Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2017-05-04T12:25:15.8309598Z ##[debug]loading INPUT_TAGS
2017-05-04T12:25:15.8309598Z ##[debug]loading INPUT_TYPE
2017-05-04T12:25:15.8309598Z ##[debug]loaded 5
2017-05-04T12:25:16.3153326Z ##[debug]Starting Tag Build/Release task
2017-05-04T12:25:16.3153326Z ##[debug]System.TeamFoundationCollectionUri=https://masheleza.visualstudio.com/
2017-05-04T12:25:16.3153326Z ##[debug]System.TeamProject=VSTS
2017-05-04T12:25:16.3153326Z ##[debug]type=Release
2017-05-04T12:25:16.3153326Z ##[debug]tags=Cust.Api_1.0.17124.01
2017-05-04T12:25:16.3153326Z PROD - Cust.Api-Release
2017-05-04T12:25:16.3153326Z ##[debug]Build.BuildId=2630
2017-05-04T12:25:16.3153326Z ##[debug]Build ID = 2630
2017-05-04T12:25:16.3153326Z ##[debug]Release.ReleaseId=1925
2017-05-04T12:25:16.3153326Z ##[debug]Release ID = 1925
2017-05-04T12:25:16.3153326Z ##[debug]System.AccessToken=********
2017-05-04T12:25:16.3153326Z ##[debug]Detected token: creating bearer cred handler
2017-05-04T12:25:16.3153326Z ##[debug]Getting release api client
2017-05-04T12:25:18.6122529Z Setting tags on release [1925]
2017-05-04T12:25:21.0810441Z ##[debug]New tags: PROD -Cust.Api-Release,Cust.Api_1.0.17124.01
2017-05-04T12:25:21.0810441Z ##[debug]task result: Succeeded
2017-05-04T12:25:21.0810441Z ##[debug]Leaving Tag Build/Release task
2017-05-04T12:25:21.0966685Z Finishing task: JSONTokenizer
from cols-agent-tasks.
Hi @masheleza - glad you got the token set. I can see from this line:
2017-05-04T12:25:21.0810441Z ##[debug]New tags: PROD -Cust.Api-Release,Cust.Api_1.0.17124.01
that the tags are being set (the values are returned from the call to VSTS to add the tag). Since you set the Type
to Release
, the tag has been added to the instance of the release itself. If you click on the release and open the Release Summary, there's a tags section on the bottom right where you'll see your tags.
If you want to tag the build instead, set the Type
to Build
and the task will add the tag to the incoming build instead (if you tag a build you see the tags on the Build Summary page).
Hope that helps!
from cols-agent-tasks.
Related Issues (20)
- rejection id: 1 HOT 4
- Replace Tokens Feature Request: Allow task to work with zip files HOT 3
- An error occurred during deployment plan generation. Deployment cannot continue.
- Cannot see deploymentReport.md in Azure Devops Pipeline after comparison HOT 2
- Possibility to override DatabaseName from 'Test' in generated script
- TFS 2017.3 gives error when using the coverage gate
- Cannot read property 'join' of null
- How do you debug this in Visual studio code
- AZure Devops 2020 Self Signed Cert
- Cannot read property 'endsWith' of undefined HOT 1
- Tag Build or Release task should log an error if it can't tag
- Error When Perform Dacpac Schema Compare in YAML version of Azure Build pipeline
- Replace Tokens Node 6 to 10 Migration HOT 5
- Allow user to configure extension to fail if token replacement is suspect HOT 5
- Tag Build or Release 'A supported task execution handler was not found.' error on TFS 2018 HOT 8
- Example YML for tagging a build is not correct HOT 2
- ##[error]A supported task execution handler was not found. This error usually means the task does not carry an implementation that is compatible with your current operating system. Contact the task author for more details. HOT 3
- DacPacReport: Files in extension version 1.4.152 (task version 1.2.178) differ from latest version in main branch
- New task versions can not be used due to incorrect versioning
- Vulnerability Issue Found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cols-agent-tasks.