1
0
Fork 0
forked from glenux/mfm

ci: add support for docker in jenkins

This commit is contained in:
Glenn Y. Rolland 2024-03-29 15:20:35 +01:00
parent e6bb63c807
commit 7fe89dd051

9
Jenkinsfile vendored
View file

@ -4,8 +4,15 @@ pipeline {
stages {
stage('Build') {
agent {
docker {
image 'crystallang/crystal:1.11.0-alpine'
reuseNode true
}
}
steps {
echo 'Building..'
sh 'shards install'
sh 'shards build --production --static'
}
}
stage('Test') {