Skip to content

Commit

Permalink
Jenkinsfile: Echo the branch you are building
Browse files Browse the repository at this point in the history
Signed-off-by: Fisnik Hajredini <fhajredini@luxoft.com>
(cherry picked from commit f28fc5c)
  • Loading branch information
fhajredini authored and Therese Nordqvist committed Mar 19, 2019
1 parent d1e1474 commit 4febba7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void buildBistro(String variant, String imageName) {
// Initialize pelux-manifests to get the code
sh "rm -rf pelux-manifests/"
sh "git clone https://github.com/Pelagicore/pelux-manifests.git -b ${branchName}"

println("Using the specified branch for build: ${branchName}")
dir('pelux-manifests') {
def code = load "ci-scripts/yocto.groovy"
String bistroPath = "${env.WORKSPACE}/${bistroDir}"
Expand All @@ -41,12 +41,12 @@ def variantList = []
try {
variantList = env.VARIANT_LIST.split()
echo "Using the specified variant list for build"
println "[\"${variantList.join('", "')}\"]"
println ("Using the specified variant list for build: " + "[\"${variantList.join('", "')}\"]")
} catch(e) {
println("Using the default variant list for build. \nCaught error: " + e)
variantList = ['intel-qtauto:core-image-pelux-qtauto-neptune-dev',
'rpi-qtauto:core-image-pelux-qtauto-neptune-dev']
println "[\"${variantList.join('", "')}\"]"
println ("[\"${variantList.join('", "')}\"]")
}

variantList.each {
Expand Down

0 comments on commit 4febba7

Please sign in to comment.