azure-pipelines-task-lib | Libraries for writing VSTS and TFS build tasks | Automation library

 by   microsoft TypeScript Version: Current License: MIT

kandi X-RAY | azure-pipelines-task-lib Summary

kandi X-RAY | azure-pipelines-task-lib Summary

azure-pipelines-task-lib is a TypeScript library typically used in Automation applications. azure-pipelines-task-lib has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Libraries for writing VSTS and TFS build tasks
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              azure-pipelines-task-lib has a low active ecosystem.
              It has 369 star(s) with 267 fork(s). There are 102 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 4 open issues and 340 have been closed. On average issues are closed in 70 days. There are 30 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of azure-pipelines-task-lib is current.

            kandi-Quality Quality

              azure-pipelines-task-lib has 0 bugs and 0 code smells.

            kandi-Security Security

              azure-pipelines-task-lib has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              azure-pipelines-task-lib code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              azure-pipelines-task-lib is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              azure-pipelines-task-lib releases are not available. You will need to build from source code and install.
              It has 2 lines of code, 0 functions and 47 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of azure-pipelines-task-lib
            Get all kandi verified functions for this library.

            azure-pipelines-task-lib Key Features

            No Key Features are available at this moment for azure-pipelines-task-lib.

            azure-pipelines-task-lib Examples and Code Snippets

            No Code Snippets are available at this moment for azure-pipelines-task-lib.

            Community Discussions

            QUESTION

            Azure devops pipline No toolchains found in the NDK toolchains folder for ABI with prefix
            Asked 2022-Mar-21 at 09:17

            Hi I'm trying to build react native android app in azure pipelines but I can't get it to work... The error I'm keep getting is like this. I tried everything I found on google but nothing helped.

            Build task:

            ...

            ANSWER

            Answered 2022-Mar-21 at 09:17

            I managed to fix it by adding bash script as step like this:

            echo "ndk.dir=$ANDROID_NDK_HOME" >> local.properties

            Source https://stackoverflow.com/questions/71452823

            QUESTION

            Azure DevOps gradle build fails
            Asked 2021-Nov-15 at 12:55

            I am trying to migrate my pipeline from Appcenter to DevOps since I need to leverage some of the build-runtime tools.

            The Appcenter builds are working fine, and I can run the app in the phone. But when I create a new pipeline in DevOps with a gradle task, the build fails with this following error:

            ...

            ANSWER

            Answered 2021-Nov-15 at 12:55

            Found out that the error was I did not point to the correct build artifact. Pointed to some old artifact that was not correct. Had to check the location where pipeline was building and point to that directory instead.

            Source https://stackoverflow.com/questions/69769374

            QUESTION

            String parameter is not resolved when parameterizing Mock ParameterFilter in Pester
            Asked 2021-Sep-16 at 17:42

            I am using Pester testing library (with version 5.0.2) to test my PowerShell scripts (with version 5.1) and mock its dependencies.

            Pester has a Mock method which can be used to mock dependencies. More info here.

            I am trying to create a helper method wrapping this Mock method, to make my code more readable:

            ...

            ANSWER

            Answered 2021-Sep-16 at 17:42

            You are close. It's all in how you build the needed scriptblocks.

            For the ParameterFilter scriptblock you need to escape $Name with a backtick so that it gets created as a variable. $inputName will be replaced with our variable value so you need to surround in quotes.

            Source https://stackoverflow.com/questions/69203084

            QUESTION

            Adding a custom "Where is your code" source
            Asked 2021-Feb-17 at 22:20

            If at all possible, how can one define a custom source for the "Where is your code" selection in Azure DevOps?

            Purely for example, say I wanted to use GitLab as my source. Given that no current extensions exist in the marketplace that do this, how could someone go about defining one that adds a custom source for Azure DevOps Pipelines?

            While it is true that one could store the pipeline definition in one location and use a "checkout" task to clone the code itself, such a technique causes some functionality to be lost (build status reporting, for example).

            Additionally, while using "Other Git" allows one to connect to any git repository, it has its own issues:

            1. You would need to create a custom service connection per repository. This is not sustainable given a large number of repositories.
            2. You still will have the issues found when storing the pipeline definition in one place and checking out a specific repository: loss of build status reporting, PR/merge decoration, etc.

            I have looked around Microsoft's documentation websites, as well as the various repositories like the Azure DevOps Task Lib, but I have not found anything that even states if this is possible.

            Update Feb 17, 2020

            As per the answer below, this is not possible today (Feb 17, 2021). I have opened a corresponding User Voice idea: Custom code sources for Azure DevOps Pipelines

            ...

            ANSWER

            Answered 2021-Feb-16 at 07:57

            how can one define a custom source for the "Where is your code" selection in Azure DevOps

            For this issue, I am afraid that this is currently not possible in azure devops. If you want to select a custom code source for the pipeline, then you cannot avoid creating gitlab service connections. Currently azure devops only provides the option "Other Git" to choose from.

            As a workaround , you can try to create repository mirror​​​ing. Repository mirroring allows for mirroring of repositories to and from external sources. It can be used to mirror branches, tags, and commits between repositories.

            Push: for mirroring a GitLab repository to another location.

            In addition, you could add your request for this feature on our UserVoice site , which is our main forum for product suggestions.After suggest raised, you can vote and add your comments for this feedback. The product team would provide the updates if they view it.

            Source https://stackoverflow.com/questions/66211366

            QUESTION

            Debugging a Azure DevOps Task Extension (TypeScript)
            Asked 2021-Jan-08 at 07:54

            I develop all our task extensions in PowerShell, now I start to translate my first extension into TypeScript. The extension is a small task which should run in build or release pipelines. The task should get deployed to a Azure DevOps Server 2020.1 (on prem).

            Preparation Tutorials System Setup ...

            ANSWER

            Answered 2021-Jan-08 at 06:08

            is there a way to debug an azure devops task extension?

            Yes, According to the Step 1 in the article "Add a custom pipelines task extension", after installing all the required libraries and dependencies and adding all the required task implementation files, you can compile and run the task with PowerShell or other shells. By default, the task is run with debugging mode. See the example I share below.

            is it possible to pass parameter and load them via tl.getInput?

            Sure, you can pass the value of tl.getInput as an parameter. See the example I share below.

            is there a state of the art or a complete guideline how to develop azure devops task extension?

            Currently, the Microsoft Docs about DevOps extensions is the best guide for us to develop DevOps extensions.

            Follow your case, I also test on my side, below are the main source code I use:

            • task.json

            Source https://stackoverflow.com/questions/65612951

            QUESTION

            Task :compileFunctionalTestGroovy FAILED during gradle ci build
            Asked 2020-Dec-16 at 12:21

            I have task that runs a functional test

            ...

            ANSWER

            Answered 2020-Dec-16 at 12:21

            The problem was, that I build not whole dependencies.

            Source https://stackoverflow.com/questions/65065400

            QUESTION

            In yaml based multiStage pipeline which I need to publish webApp & webjobs on one app service for 2 dotnet core based projects which are in one sol
            Asked 2020-Dec-02 at 06:53

            I have tried to create two different zip for each project by adding two vsBuild tasks.

            While writing my yaml based pipeline I am facing two issue:-

            1. In webjob project path is DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\App_Data\jobs\continuous\somethingApp.zip" but nothing is getting added into it.

            2 When I am deploying it azure app service, during deployment of my web app I am facing below error:

            ...

            ANSWER

            Answered 2020-Nov-27 at 06:42

            The key to the problem, I think it should be a path configuration problem, unable to access your webjob application.

            So I suggest you create a virtual application in portal.

            For more details, you can refer to this blog. If you need further help, please let me know.

            How to publish webjob from azure devops to azure app service using Azure app service deploy task

            Source https://stackoverflow.com/questions/65018229

            QUESTION

            Azure DevOps pipeline android build setting sdk location
            Asked 2020-Oct-12 at 14:46

            I am trying to build an android app using a yaml pipeline. The gradle build task is complaining that it can't find the android sdk root. I've tried both the local.properties file and the environmental variable ANDROID_SDK_ROOT, and neither work. This is my build pipeline:

            ...

            ANSWER

            Answered 2020-Oct-12 at 07:34

            You can set environmental variables in azure pipeline by defining it in the Variables section. You can add below to your yaml pipeline.

            Source https://stackoverflow.com/questions/64305136

            QUESTION

            The SDK directory '/Users/username/Library/Android/sdk' does not exist
            Asked 2020-Apr-23 at 11:20

            I was running Azure Pipeline build for react native app in which i am using gradle for android build and got this error:

            ...

            ANSWER

            Answered 2020-Apr-22 at 13:42

            It worked after change in local.properties file from:

            Source https://stackoverflow.com/questions/61358427

            QUESTION

            Azure DevOps - The process 'C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe' failed with exit code 3762504530
            Asked 2020-Apr-15 at 12:27

            I am doing on premise deploy with Azure DevOps and I got this error as below. I am deploying this on the windows 10 pro machine. Could any help on this would be great help. As I have tried to find some solution but could not find.

            ...

            ANSWER

            Answered 2020-Apr-15 at 12:27

            I got the solution we need to remove the webdeploy 4.0 and downgrade to webdeploy 3.6 and then its working well.

            Source https://stackoverflow.com/questions/61209888

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install azure-pipelines-task-lib

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/microsoft/azure-pipelines-task-lib.git

          • CLI

            gh repo clone microsoft/azure-pipelines-task-lib

          • sshUrl

            git@github.com:microsoft/azure-pipelines-task-lib.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link