1
0
Fork 0
forked from glenux/mfm
mfm-demo/Jenkinsfile

30 lines
585 B
Text
Raw Permalink Normal View History

2024-03-29 14:15:39 +00:00
pipeline {
agent any
stages {
stage('Build') {
2024-03-29 14:20:35 +00:00
agent {
docker {
image 'crystallang/crystal:1.11.0-alpine'
reuseNode true
}
}
2024-03-29 14:15:39 +00:00
steps {
2024-03-29 14:20:35 +00:00
sh 'shards install'
sh 'shards build --production --static'
2024-03-29 14:15:39 +00:00
}
}
stage('Test') {
steps {
echo 'Testing..'
}
}
stage('Deploy') {
steps {
echo 'Deploying....'
}
}
}
}