Use custom modules repo as source

This commit is contained in:
Dan Hawkins 2020-10-22 12:20:52 +01:00
commit 06fea48a0b

View file

@ -31,12 +31,12 @@ pipeline {
stage('Checkout source') {
steps {
script {
SOURCEURL = 'git@hydra:gis/atlas_ui.git'
SOURCEURL = 'git@hydra:atlas-ui-modules/custom-modules.git'
SOURCEREVISION = SOURCE_REVISION
SOURCEDIR = "${WORKSPACE}\\atlas_ui"
configurationhelper.gitCheckoutAndRegister(meta, 'atlas_ui', SOURCEURL, SOURCEREVISION, SOURCEDIR, '', 0, false)
SOURCEDIR = "${WORKSPACE}\\custom_modules"
configurationhelper.gitCheckoutAndRegister(meta, 'custom_modules', SOURCEURL, SOURCEREVISION, SOURCEDIR, '', 0, false)
env.SOURCE_PATH = SOURCEDIR
env.JOBSCRIPTS = "${SOURCE_PATH}\\autobuild\\build_inksystem_ui"
env.JOBSCRIPTS = "${SOURCE_PATH}\\autobuild\\build"
env.JOBSCRIPTS_COMMON = "${SOURCE_PATH}\\autobuild\\common"
env.SRC = SOURCE_PATH
}
@ -57,7 +57,7 @@ pipeline {
PSBIN,
ASBIN,
AULIB,
"${WORKSPACE}/binInk",
"${WORKSPACE}/bin",
TESTRESULTS,
]
cleaner = load("${autobuilder.commonscripts()}/clean/clean.groovy")
@ -148,7 +148,7 @@ pipeline {
steps {
script {
bat """
move "${SRC}\\binInk" .
move "${SRC}\\bin" .
if errorlevel 1 exit /b 1
move "${SRC}\\testresults" .
@ -193,7 +193,7 @@ pipeline {
stage('Archiving artifacts') {
steps {
script {
def artifactlist = meta.generateartifacts(["binInk/**","testresults/**"])
def artifactlist = meta.generateartifacts(["bin/**","testresults/**"])
archiveArtifacts "${artifactlist}"
}
}