Skip to content

Commit 18a3a60

Browse files
author
dcalixto
committed
required SQLite on Jenkins
1 parent 6a67668 commit 18a3a60

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Jenkinsfile

+6-5
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@ pipeline {
22
agent any
33

44
stages {
5-
stage('Setup') {
5+
stage('Install Dependencies') {
66
steps {
77
sh '''
88
apt-get update
9+
apt-get install -y libsqlite3-dev
910
apt-get install -y curl gnupg apt-transport-https
1011
curl -fsSL https://crystal-lang.org/install.sh | bash
1112
apt-get install -y crystal
1213
crystal --version
1314
shards --version || echo "Shards is already bundled with Crystal."
14-
'''
15-
15+
'''
16+
1617
}
1718
}
1819

19-
stage('Dependencies') {
20+
stage('Build') {
2021
steps {
2122
sh 'shards install'
2223
}
@@ -28,4 +29,4 @@ pipeline {
2829
}
2930
}
3031
}
31-
}
32+
}

0 commit comments

Comments
 (0)