Skip to content
Snippets Groups Projects
Unverified Commit 565c04e7 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

jenkinsfile: get correct commit

Change-Id: I3166779843432a2a92781b35befc105c388374b4
parent d70a6639
No related branches found
No related tags found
No related merge requests found
......@@ -53,10 +53,22 @@ pipeline {
stages {
stage('SCM Checkout') {
// Wipe workspace and fetch jami-daemon
checkout changelog: true, poll: false,
scm: [$class: 'GitSCM',
branches: [[name: 'FETCH_HEAD']],
doGenerateSubmoduleConfigurations: false,
extensions: [
[$class: 'CloneOption', noTags: true, reference: '', shallow: true],
[$class: 'WipeWorkspace']],
submoduleCfg: [],
userRemoteConfigs: [[refspec: '${GERRIT_REFSPEC}', url: 'https://${JAMI_GERRIT_URL}/jami-client-qt']]]
}
stage('Init repository') {
steps {
script {
sh """
git fetch ssh://jenkins@review.jami.net:29420/jami-client-qt $GERRIT_REFSPEC && git checkout FETCH_HEAD
git rev-parse HEAD
git submodule update --init --recursive
"""
......@@ -94,6 +106,7 @@ pipeline {
cmake .. -DENABLE_TESTS=True
make -j${cpuCount}
""")
// Run tests
exec_cmd("""
cd ${dockerTopDir}
cd tests/qml/src
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment