Git Product home page Git Product logo

code-push-vsts-extension's Issues

"CodePush - Release" task missing after instalation to Azure DevOps (VSTS)

I have installed the ms-vsclient.code-push-1.3.1.vsix extension in our AzureDevOps but we are missing “CodePush – Release” task. I can see 3 other tasks (CodePush - Patch, CodePush - Release(Cordova) and CodePush - Promote). What we want to do is to release React-Native app, and without the CodePush - Release task, we can't do it.

Unable to install to VSTS

When I'm trying to install this extension to my VSTS account, I'm receiving this message

Extension operation denied by event callback. All the task versions belonging to Contribution Tasks/codepush-release should have the same task id. Tasks with version 1.0.5 and version 1.2.2 do not have same ids.

Can not specity the directory to execute the command code-push release-cordova

This task is using the default working directory $(Build.SourcesDirectory), and it can not be specified.

That means if the cordova app is not located in the root of the repo, the task will be failed with the message:

Error: Current working directory is not a Cordova-based project

It's very useful to add the option to specify the directory for this task, since the cordova app usually located in sub-folder instead of the root directory.

Cannot deploy package from VSTS

Hello,
I followed this tuturial https://docs.microsoft.com/en-us/appcenter/distribution/codepush/tutorials#automate-your-deployments-with-vsts- Automate your deployments with VSTS.

Everything works up until the task: "CodePush - Release, Description : Release an update to a CodePush app deployment"

The task fails with the message:

2018-01-25T14:36:27.2326118Z ##[section]Starting: Release update to Staging
2018-01-25T14:36:27.2330356Z ==============================================================================
2018-01-25T14:36:27.2330486Z Task : CodePush - Release
2018-01-25T14:36:27.2330590Z Description : Release an update to a CodePush app deployment
2018-01-25T14:36:27.2330706Z Version : 1.2.2
2018-01-25T14:36:27.2330801Z Author : Microsoft Corporation
2018-01-25T14:36:27.2330895Z Help :
2018-01-25T14:36:27.2331008Z ==============================================================================
2018-01-25T14:36:43.6546377Z
2018-01-25T14:36:43.6556294Z Successfully logged-in. Your session file was written to C:\Users\VssAdministrator\AppData\Local.code-push.config. You can run the code-push logout command at any time to delete this file and terminate your session.
2018-01-25T14:36:43.6556596Z
2018-01-25T14:36:43.6556740Z
2018-01-25T14:37:47.9328948Z
2018-01-25T14:37:47.9330313Z [Error] Cannot POST /apps/My-Company-Name/MyApp/deployments/Staging/release
2018-01-25T14:37:47.9337077Z
2018-01-25T14:37:47.9337340Z
2018-01-25T14:37:47.9344284Z [Error] Cannot POST /apps/My-Company-Name/MyApp/deployments/Staging/release
2018-01-25T14:37:47.9375956Z
2018-01-25T14:37:47.9378084Z
2018-01-25T14:37:47.9423199Z ##[section]Finishing: Release update to Staging

Locally from my computer I am able to release an update to the same app with the cli command:

appcenter codepush release-react -a "My-Company-Name/MyApp" -d Staging

My-Company-Name is the name of the organization in Visual Studio App Center.

I see that the React Native bundle is created in the Artifacts folder from the React Native bundle task.

Can you point me in the right direction? What could be wrong with the set up?
Thank you.

Please support --noDuplicateReleaseError switch for CodePush release task

It would be useful to expose this switch so release pipelines do not fail if the bundle is identical. Even more useful would be an output variable indicating the identical error specifically was thrown so continue on error can be marked on the task and downline pipeline tasks can react to that.

Thanks

"CodePush - Release" api error in Azure DevOps

In Authentication Method, I choose Service Endpoint (CodePush).
The task fails with following error:

[Error]  {"status":404,"name":"Error","message":"Resource not found: /v0.1/legacy/apps/{owner_name}/{app_name}/deployments/{deployment_name}/release"}

From API spec of appcenter, this url does not exist
https://openapi.appcenter.ms/

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.