thp-lang.org/Jenkinsfile.groovy
2023-10-25 20:56:46 -05:00

21 lines
466 B
Groovy

pipeline {
agent any
environment {
PATH = "/var/lib/jenkins/.bun/bin:/var/lib/jenkins/bin:${env.PATH}"
}
stages {
stage('Test env') {
steps {
echo 'Testing...'
echo 'Is Bun working?...'
sh 'bun --version'
}
}
stage('Build') {
steps {
sh 'bun tailwind:build'
sh 'md-docs'
}
}
}
}