Update Jenkinsfile2

Modified Jenkins file
This commit is contained in:
Lance Seidman 2023-01-26 10:59:46 -08:00 committed by GitHub
parent 6bd8542991
commit bd4e2b3a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,3 @@
pipeline {
agent {
docker {
@ -13,9 +11,9 @@ pipeline {
sh 'node --version'
sh 'apk add git yarn npm'
sh 'git config --global --add safe.directory /var/lib/jenkins/workspace/watcher-ts-testing'
sh 'npm config set registry https://git.vdb.to/api/packages/cerc-io/npm'
sh 'yarn'
sh 'yarn build'
sh 'npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/'
sh 'lerna publish from-package --no-git-tag-version --yes'
}
}