Files
JuiceWorkStation/Jenkinsfile
T

38 lines
587 B
Groovy

pipeline {
agent any
tools {
nodejs 'nodejs'
}
options {
timestamps()
disableConcurrentBuilds()
}
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Install') {
steps {
dir('dashboard') {
sh 'npm ci'
}
}
}
stage('Build') {
steps {
dir('dashboard') {
sh 'npm run build'
}
}
}
}
}