ci: jenkinsfile pt. 2

This commit is contained in:
Fernando Araoz 2025-01-22 20:09:17 -05:00
parent 2ee8809c7b
commit 9749ee71b8

14
Jenkinsfile vendored
View File

@ -1,12 +1,14 @@
pipeline { pipeline {
agent { agent any
docker {
reuseNode true
image 'stagex/zig:0.13.0'
}
}
stages { stages {
stage('Build binary with JSON flag') { stage('Build binary with JSON flag') {
agent {
docker {
reuseNode true
image 'stagex/zig:0.13.0'
}
}
steps { steps {
sh 'zig build -Djson=true -Doptimize=ReleaseSmall' sh 'zig build -Djson=true -Doptimize=ReleaseSmall'
} }