Copy build chain from Vintage Storage

This commit is contained in:
zontreck 2025-01-18 01:10:47 -07:00
parent c416e6e5e1
commit f2a23552af
14 changed files with 125 additions and 51 deletions

44
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,44 @@
pipeline {
agent any
options {
buildDiscarder (
logRotator (
numToKeepStr: '5'
)
)
}
stages {
stage ("Build & Archive") {
agent {
label 'linux'
}
steps {
sh '''
#!/bin/bash
git submodule update --init --recursive
update_vs_dotgame
chmod +x build.sh
./build.sh
'''
}
post {
always {
archiveArtifacts artifacts: "Releases/*.zip"
cleanWs()
script {
if(env.DISCORD_URL != '') {
discordSend customUsername: 'Jenkins', description: 'NOTICE: This is an automated development build and may not be stable. Use at your own risk.', enableArtifactsList: true, title: 'Arias Server Utils Build Results', webhookURL: env.DISCORD_URL
}
}
}
}
}
}
}