Jenkinsfile: fix builds

Builds were broken since 079d5fc412 and nobody noticed...
coolant-mod
krzys_h 2018-08-05 20:23:36 +02:00
parent 31b7d3f9ba
commit 491a77d9d5
1 changed files with 9 additions and 6 deletions

15
Jenkinsfile vendored
View File

@ -18,12 +18,15 @@ pipeline {
} }
stage('Build data') { stage('Build data') {
steps { steps {
sh ''' sh 'mkdir -p build'
cmake -DCMAKE_INSTALL_PREFIX=/install -DCOLOBOT_INSTALL_DATA_DIR=/install/data .. dir('build') {
make sh '''
rm -rf install cmake -DCMAKE_INSTALL_PREFIX=/install -DCOLOBOT_INSTALL_DATA_DIR=/install/data ..
DESTDIR=. make install make
''' rm -rf install
DESTDIR=. make install
'''
}
} }
} }