watcher-ts/Jenkinsfile2
Lance Seidman bd4e2b3a88
Update Jenkinsfile2
Modified Jenkins file
2023-01-26 10:59:46 -08:00

22 lines
637 B
Plaintext

pipeline {
agent {
docker {
image 'node:16.13.1-alpine'
args '-u root:root'
}
}
stages {
stage('Build Project') {
steps {
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 'lerna publish from-package --no-git-tag-version --yes'
}
}
}
}