CORE-348 - Provide a script that can obtain a package from a release repo
This commit is contained in:
parent
05f9c1b870
commit
aa124fab8e
1 changed files with 1 additions and 18 deletions
|
|
@ -12,23 +12,6 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
configurationhelper = autobuilder.configurationhelper()
|
configurationhelper = autobuilder.configurationhelper()
|
||||||
|
|
||||||
PYTHONURL = 'git@hydra:tools/python.git'
|
|
||||||
if (isUnix()) {
|
|
||||||
PYTHONBRANCH = "origin/3.6.3_linux"
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
PYTHONBRANCH = "origin/3.6.3_windows"
|
|
||||||
}
|
|
||||||
PYTHONDIR = "${WORKSPACE}/python"
|
|
||||||
PYTHONROOTDIR = 'python'
|
|
||||||
configurationhelper.gitCheckoutAndRegister(meta, 'python', PYTHONURL, PYTHONBRANCH, PYTHONDIR, PYTHONROOTDIR)
|
|
||||||
if (isUnix()) {
|
|
||||||
env.PYTHON = "${PYTHONDIR}/usr/local/bin/python3"
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
env.PYTHON = "${PYTHONDIR}/ver/python.exe"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -59,7 +42,7 @@ pipeline {
|
||||||
PACKAGE_CREATE_JOB_SELECTOR,
|
PACKAGE_CREATE_JOB_SELECTOR,
|
||||||
packagereleaserepo,
|
packagereleaserepo,
|
||||||
packagereleaserevision)
|
packagereleaserevision)
|
||||||
packageimportoptions.setincrementversionnumber(true)
|
packageimportoptions.setincrementversionnumber(false)
|
||||||
packagemeta = importer.artifactimport(meta, packageimportoptions, PACKAGEDEST)
|
packagemeta = importer.artifactimport(meta, packageimportoptions, PACKAGEDEST)
|
||||||
|
|
||||||
PACKAGE_FOLDER = "${PACKAGEDEST}/package"
|
PACKAGE_FOLDER = "${PACKAGEDEST}/package"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue