Added new

This commit is contained in:
2026-02-25 17:33:52 +01:00
parent 906854af37
commit 1ccb39ad60

33
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,33 @@
pipeline {
agent {
node {
label 'agent1'
}
}
tools {
// Install the NodeJS version configured as "nodejs8170" and add it to the path.
nodejs "nodejs8170"
}
stages {
stage('Checkout') {
steps {
// Get some code from a GitHub repository
git 'https://git.agile611.com/Agile611/the-example-app-nodejs.git'
}
}
stage('Install') {
steps {
// Install NPM Dependencies
sh 'npm install'
}
}
stage('Run') {
steps {
// Run server on port 3000
sh 'npm run start:dev'
}
}
}
}