HMBFDGMA-2 that wasn't processing variables how I hoped.

This commit is contained in:
Damian Smith 2018-05-04 13:18:40 +01:00
commit 1c172a96d2

View file

@ -52,19 +52,13 @@ pipeline {
load 'el\\autobuild_support\\synthesis\\set_project_variables.gsh'
}
}
stage('Checkout generic Repo source') {
/*stage('Checkout other Repo sources') {
steps {
script{
if("${GEN_IP_BRANCH}"=="") {
GENSOURCEREPOURL = "git@hydra:GIS_Embedded_Logic/el_generic_ip_shared_2.git"
GENSOURCEREVISION = "${GEN_IP_BRANCH}".trim()
GENSOURCEDIR = "${WORKSPACE}/el-gen"
GENSOURCEROOTDIR = "GENERIC_IP_reporoot"
configurationhelper.gitCheckoutAndRegister('generic-ip', GENSOURCEREPOURL, GENSOURCEREVISION, GENSOURCEDIR, GENSOURCEROOTDIR)
}
}
// to allow for each project to have its own repos and link to them
// load 'foo.gsh'
//
}
}
}*/
stage('Checkout tools') {
steps {
script {
@ -156,15 +150,7 @@ pipeline {
stage('Make links') {
steps {
bat 'rmdir jobscripts || rem'
bat 'mklink /J jobscripts "%WORKSPACE%\\autobuild\\synthesis"'
script {
if("${GEN_IP_BRANCH}"=="") {
steps {
bat 'rmdir "el\\firmware\\generic_ip" || rem'
bat 'mklink /J "el\\firmware\\generic_ip" el-gen'
}
}
}
bat 'mklink /J jobscripts "%WORKSPACE%\\autobuild\\synthesis"'
}
}
stage('Synthesis') {