forked from glenux/mfm
29 lines
585 B
Groovy
29 lines
585 B
Groovy
|
|
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Build') {
|
|
agent {
|
|
docker {
|
|
image 'crystallang/crystal:1.11.0-alpine'
|
|
reuseNode true
|
|
}
|
|
}
|
|
steps {
|
|
sh 'shards install'
|
|
sh 'shards build --production --static'
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
echo 'Testing..'
|
|
}
|
|
}
|
|
stage('Deploy') {
|
|
steps {
|
|
echo 'Deploying....'
|
|
}
|
|
}
|
|
}
|
|
}
|