Files
double-pendulum/Jenkinsfile
T
flip a8c01e6ad7
gitea/double-pendulum/pipeline/head This commit looks good
build: Index wordt nu ook naar proj web gezet
2026-09-05 18:01:10 +02:00

22 lines
389 B
Groovy

pipeline {
agent any
stages {
stage('Check') {
steps {
sh 'cargo check'
}
}
stage('Build') {
steps {
sh 'wasm-pack build --target web --out-dir /var/www/zwietering.eu/projects/double-pendulum'
sh 'cp ./index.html /var/www/zwietering.eu/projects/double-pendulum'
}
}
}
post {
cleanup {
cleanWs()
}
}
}