fix: builds (test 1)

This commit is contained in:
2023-04-09 15:09:15 +02:00
parent 03ea29050f
commit b84b0a4dc6

7
Jenkinsfile vendored
View File

@@ -1,12 +1,15 @@
pipeline {
agent any
tools { nodejs "NodeJS (sern snippets)" }
tools { nodejs "NodeJS" }
stages {
stage('Build VSCode extension') {
when {
expression { env.BRANCH_NAME == 'main' }
}
steps {
// Clone the repository that contains the VSCode extension
git branch: 'jenkins-testing', url: 'https://github.com/sern-handler/snippets.git'
git branch: 'main', url: 'https://github.com/sern-handler/snippets.git'
// Install dependencies
sh 'npm install'