From a120181e85152b6e9071d22ece11f4c579b1044f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Se=C3=A7kin?= Date: Fri, 16 Nov 2018 15:04:53 +0000 Subject: [PATCH] Update pipeline --- azure-pipelines.yml | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 79ae711..3f400fe 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,18 +1,27 @@ -# Node.js with gulp -# Build a Node.js project using the gulp task runner. -# Add steps that analyze code, save build artifacts, deploy, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript +name: '1.1.0.$(rev:r)' -pool: - vmImage: 'Ubuntu 16.04' +trigger: + - master -steps: -- task: NodeTool@0 - inputs: - versionSpec: '8.x' - displayName: 'Install Node.js' +jobs: +- job: 'build' + displayName: 'Build and Test' + pool: + vmImage: 'Ubuntu 16.04' -- script: | - npm install - npm run build-all - displayName: 'npm install and run all build scripts' + workspace: + clean: all + + steps: + - checkout: self + clean: true + + - task: NodeTool@0 + inputs: + versionSpec: '8.x' + displayName: 'Install Node.js' + + - script: | + npm install + npm run build-all + displayName: 'npm install and run all build scripts'