mirror of
https://github.com/sern-handler/snippets
synced 2026-06-06 01:16:58 +00:00
fix: builds (test 1)
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user