Files
double-pendulum/Jenkinsfile
T
Philippe Zwietering b05af111ad
gitea/double-pendulum/pipeline/head There was a failure building this commit
build: Fix archive path
2026-09-08 16:40:07 +02:00

23 lines
368 B
Groovy

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