This repository has been archived on 2023-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
FeedbackD-Configuration/Jenkinsfile

23 lines
543 B
Plaintext
Raw Permalink Normal View History

2020-09-10 16:01:46 +00:00
pipeline {
agent {
dockerfile true
}
stages {
stage('Prepare Build') {
steps {
2020-09-12 00:01:39 +00:00
sh 'mkdir build; cd build; cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..'
2020-09-10 16:01:46 +00:00
}
}
stage('Build') {
steps {
sh 'cd build; make -j$(nproc) package'
}
post {
success {
archiveArtifacts artifacts: 'build/*.tar.gz', fingerprint: true
}
}
}
}
}