1 |
pipeline { |
2 |
agent any |
3 |
stages { |
4 |
stage('Build for FreeBSD amd64') { |
5 |
steps { |
6 |
sh 'make GOOS=freebsd GOARCH=amd64' |
7 |
archiveArtifacts artifacts: 'aya-freebsd-amd64', fingerprint: true |
8 |
} |
9 |
} |
10 |
stage('Build for FreeBSD i386') { |
11 |
steps { |
12 |
sh 'make GOOS=freebsd GOARCH=386' |
13 |
archiveArtifacts artifacts: 'aya-freebsd-386', fingerprint: true |
14 |
} |
15 |
} |
16 |
stage('Build for NetBSD amd64') { |
17 |
steps { |
18 |
sh 'make GOOS=netbsd GOARCH=amd64' |
19 |
archiveArtifacts artifacts: 'aya-netbsd-amd64', fingerprint: true |
20 |
} |
21 |
} |
22 |
stage('Build for NetBSD i386') { |
23 |
steps { |
24 |
sh 'make GOOS=netbsd GOARCH=386' |
25 |
archiveArtifacts artifacts: 'aya-netbsd-386', fingerprint: true |
26 |
} |
27 |
} |
28 |
stage('Build for OpenBSD amd64') { |
29 |
steps { |
30 |
sh 'make GOOS=openbsd GOARCH=amd64' |
31 |
archiveArtifacts artifacts: 'aya-openbsd-amd64', fingerprint: true |
32 |
} |
33 |
} |
34 |
} |
35 |
} |