--- /dev/null
+pipeline {
+ agent any
+ stages {
+ stage('Build for FreeBSD amd64') {
+ steps {
+ sh 'make GOOS=freebsd GOARCH=amd64'
+ archiveArtifacts artifacts: 'aya-freebsd-amd64', fingerprint: true
+ }
+ }
+ stage('Build for FreeBSD i386') {
+ steps {
+ sh 'make GOOS=freebsd GOARCH=386'
+ archiveArtifacts artifacts: 'aya-freebsd-386', fingerprint: true
+ }
+ }
+ stage('Build for NetBSD amd64') {
+ steps {
+ sh 'make GOOS=netbsd GOARCH=amd64'
+ archiveArtifacts artifacts: 'aya-netbsd-amd64', fingerprint: true
+ }
+ }
+ stage('Build for NetBSD i386') {
+ steps {
+ sh 'make GOOS=netbsd GOARCH=386'
+ archiveArtifacts artifacts: 'aya-netbsd-386', fingerprint: true
+ }
+ }
+ stage('Build for OpenBSD amd64') {
+ steps {
+ sh 'make GOOS=openbsd GOARCH=amd64'
+ archiveArtifacts artifacts: 'aya-openbsd-amd64', fingerprint: true
+ }
+ }
+ }
+}