forked from space-wizards/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJenkinsfile
32 lines (31 loc) · 1.01 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
pipeline {
agent any
stages {
stage('Setup') {
steps {
sh 'git submodule update --init --recursive'
// Do a git fetch to make sure tags in the engine get pulled in if they've been added later.
// Can happen if somebody forgot to tag the engine then tried to fix it by tagging later.
sh 'cd RobustToolbox && git fetch && cd ..'
}
}
stage('Build') {
steps {
sh 'Tools/package_server_build.py -p windows mac linux linux-arm64'
sh 'Tools/package_client_build.py'
}
}
stage('Update build info') {
steps {
sh 'Tools/gen_build_info.py'
archiveArtifacts artifacts: 'release/*.zip'
}
}
stage('Generate checksums') {
steps {
sh 'Tools/generate_hashes.ps1'
archiveArtifacts artifacts: 'release/*.zip.sha256'
}
}
}
}