Articles on: Jenkins Build Service

Node.js Application Deployment on Windows AMD64

Node.js Application Deployment on Windows AMD64

Category: programming_languages

Platform: windows_amd64

Tools Used: Node.js LTS, NPM

Description: Deploy a Node.js application using NPM on Windows AMD64.

Code:

pipeline {
agent { label 'large && nodejs && windows && x86' }
stages {
stage('Install Dependencies') {
steps {
bat 'npm install'
}
}
stage('Build') {
steps {
bat 'npm run build'
}
}
stage('Test') {
steps {
bat 'npm test'
}
}
stage('Deploy') {
steps {
bat 'npm run deploy'
}
}
}
}


Expected Outcome: Node.js application deployed successfully

Updated on: 31/10/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!