diff --git a/Jenkinsfile b/Jenkinsfile index 5bd4b09..55caedd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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') {