Compare commits

...

2 commits

Author SHA1 Message Date
7fe89dd051 ci: add support for docker in jenkins 2024-03-29 15:20:35 +01:00
e6bb63c807 ci: add Jenkinsfile 2024-03-29 15:15:39 +01:00

29
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,29 @@
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....'
}
}
}
}