Update Jenkinsfile

add git checkout stage
This commit is contained in:
Zheyuan Wu
2025-06-24 18:43:56 -05:00
parent e520146bc3
commit a819973a8a

11
Jenkinsfile vendored
View File

@@ -8,6 +8,17 @@ pipeline {
agent any
stages {
stage('Checkout') {
steps {
checkout([
$class: 'GitSCM',
branches: [[ name: '*/main' ]],
userRemoteConfigs: [[
url: 'https://github.com/Trance-0/NoteNextra',
]]
])
}
}
stage('Test') {
steps {
nodejs(nodeJSInstallationName: 'NodeJS') {