Giter VIP home page Giter VIP logo

Comments (5)

jessehouwing avatar jessehouwing commented on May 20, 2024

It looks like you're using the "Publish task"? Have you tried removing and re-adding the task?

Please post the Build Definition json for this task:
image

Like this, that should tell me exactly what values are configured:
image

And what also could help is if you can intercept the json reply that's generated when queueing the build using your browser developer tools or fiddler. It may contain more information about the issues with the definition.

If you want to send them offline, please send it to: [email protected].

from azure-devops-extension-tasks.

jessehouwing avatar jessehouwing commented on May 20, 2024

I just tested the publish task on TFS 2017u1RC and that works as expected. I do get an error that my agent doesn't have npm installed, do you have Node installed and added to the %path% of the system or the service user so the build can find it?

from azure-devops-extension-tasks.

ranuka2 avatar ranuka2 commented on May 20, 2024

@jessehouwing ,

Json from build definition:

{
   "enabled": true,
   "continueOnError": false,
   "alwaysRun": false,
   "displayName": "Publish Extension",
   "timeoutInMinutes": 0,
   "task": {
     "id": "xxx-xxx-xxx-xxx-xxx",
     "versionSpec": "*",
     "definitionType": "task"
   },
   "inputs": {
     "connectTo": "VsTeam",
     "connectedServiceName": "xxx-xxx-xxx-xxx-xxx",
     "connectedServiceNameTFS": "",
     "fileType": "vsix",
     "vsixFile": "C:\\Test\\Test.vsix",
     "rootFolder": "",
     "localizationRoot": "",
     "patternManifest": "vss-extension.json",
     "publisherId": "xxxxx",
     "extensionId": "",
     "extensionTag": "",
     "extensionName": "",
     "extensionVersion": "",
     "updateTasksVersion": "false",
     "extensionVisibility": "private",
     "extensionPricing": "free",
     "outputVariable": "",
     "shareWith": "",
     "arguments": "",
     "cwd": ""
   }
 }

Node server is installed in the TFS server and other build tasks are getting executed. I assume this is related to inputs from 'VSTS Developer Tools Build Tasks' since its displaying the error message when trying to queue the build.

Thank you,
Ranuka

from azure-devops-extension-tasks.

jessehouwing avatar jessehouwing commented on May 20, 2024

Not seeing anything that stands out from the json that helps me diagnose the issue. Next step would be to get a fiddler trace from trying to queue the build when the definition is in broken state.

from azure-devops-extension-tasks.

ranuka2 avatar ranuka2 commented on May 20, 2024

@jessehouwing : Found the issue Jesse, Issue is Node path was not added as you mentioned. Thank you.

from azure-devops-extension-tasks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.