-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathJenkinsfile
More file actions
38 lines (38 loc) · 1.01 KB
/
Jenkinsfile
File metadata and controls
38 lines (38 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
pipeline {
agent {
docker { image 'IndexChain/Index-builder:latest' }
}
environment {
CCACHE_DIR = '/tmp/.ccache'
}
stages {
stage('Build') {
steps {
sh 'git clean -d -f -f -q -x'
sh './autogen.sh'
sh './configure'
sh 'make dist'
sh 'mkdir -p dist'
sh 'tar -C dist --strip-components=1 -xzf index-*.tar.gz'
dir('dist') {
sh './configure --enable-elysium --enable-tests'
sh 'make -j6'
}
}
}
stage('Test') {
steps {
dir('dist') {
sh 'make check'
}
}
}
stage('RPC Tests') {
steps {
dir('dist') {
sh 'TIMEOUT=600 qa/pull-tester/run-bitcoind-for-test.sh qa/pull-tester/rpc-tests.py -extended'
}
}
}
}
}