gitea/double-pendulum/pipeline/head There was a failure building this commit
23 lines
370 B
Groovy
23 lines
370 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()
|
|
}
|
|
}
|
|
}
|