Jenkins: add multinode UI stage

Change-Id: I77ed791ff9dbb5b046450ab625c1763b34691888
This commit is contained in:
Yaroslav Vorobiov 2021-05-21 14:46:44 +03:00
parent 1ff2e1a474
commit f0d60a6ec2
2 changed files with 14 additions and 1 deletions

View File

@ -235,6 +235,17 @@ pipeline {
}
}
}
stage('multinode npm') {
steps {
dir("web/multinode") {
sh 'npm run build'
sh 'npm run lint'
sh script: 'npm audit', returnStatus: true
sh 'npm run test'
}
}
}
}
}
}

View File

@ -61,7 +61,7 @@ goimports-st: ## Applies goimports to every go file in `git status` (ignores unt
@git status --porcelain -uno|grep .go|grep -v "^D"|sed -E 's,\w+\s+(.+->\s+)?,,g'|xargs -I {} goimports -w -local storj.io {}
.PHONY: build-packages
build-packages: build-packages-race build-packages-normal build-satellite-npm build-storagenode-npm ## Test docker images locally
build-packages: build-packages-race build-packages-normal build-satellite-npm build-storagenode-npm build-multinode-npm ## Test docker images locally
build-packages-race:
go build -v ./...
build-packages-normal:
@ -70,6 +70,8 @@ build-satellite-npm:
cd web/satellite && npm ci
build-storagenode-npm:
cd web/storagenode && npm ci
build-multinode-npm:
cd web/multinode && npm ci
##@ Simulator