May 2019
Beginner to intermediate
456 pages
10h 37m
English
Because we will be writing this in TypeScript, we will use a few NPM packages that will help us in making GitLab REST calls and also interact with the Azure Pipelines task library:
Create a package.json and paste the following text. Alternatively, you can run npm init -y and then install all the packages one by one, as we did in the previous recipes:
{ "name": "onlyutkarsh-gitlab-dev", "version": "0.0.0", "description": "download artifact task", "main": "index.js", "scripts":{}, "author": "Utkarsh", "license": "ISC", "dependencies": { "axios": "^0.18.0", "events": "^3.0.0", "fs-extra": "^7.0.0", "path": "^0.12.7", "azure-pipelines-task-lib": "^2.7.7" }}
Read now
Unlock full access