6f0a448Handle old components that have blank product and component namesbf60873Show which component is being released9c400e8Merge commit '7fa33cb2cbb0ab652f4e01f10b32ad0c9f00bb67' into production79c1928Remove debug from console8034fe0Merge commit '7fb8ecb7e0e28ce1e6715a7b2899f83b6a3491e1'600d458Remove timeout warning8297893Correct publish listfb35654Exclude erroneous sub-component from releasec8a66b7Exclude erroneous sub-component from releasebdbc579Pass meta path to publisher walkere5e53b3Merge commit '01aa63549946d53c17612f7388e77bc5884439c0' into productione875175Correct diffing to use new meta hierarchy83e7f69Merge commit '0728204dc5a244ce2d9496d8c6fbb5fb2ab58d07' into production4663850Correct walking through v0.1 associatedmetaaad347eMerge commit '0e3ea698c71c1d697dfeab5c9a2d6010a1ee4d9e'9278e5aMerge commit 'c6e4ee3453e4cbed98b0573a569d79f1e5cdf19d'85dd653Optimise reading in of meta from files984d996Optimise reading in of meta from files88ca474Optimise reading in of meta from filesd7965eaOptimise reading in of meta from filescfa5439Optimise reading in of meta from filesa2ebb96Optimise reading in of meta from filesf21873bOptimise reading in of meta from files27298b9Use an iteration variable in walker904e2ccUse an iteration variable in walker345d6f2Use an iteration variable in walkerfd8a382Use an iteration variable in walker72b5f6dUse an iteration variable in walker0122ee4Use an iteration variable in walkerbfb7d9fUse an iteration variable in walker902ec65Use an iteration variable in walker71a3a92Add a unique id to each productebb151dAdd a unique id to each productfb4e313Merge commit '8470480c48645f659ec2753f002fc26adb6e07f2'14adb01Merge commit '73f4794d6bbe777cbe4d46ae0f52befe46c73249' into production4b3e84cAlter path to start findingaf70f7eAdd logd5ecbe1Add log6053dbcCorrect initial gather pathsf171e52Correct initial gather paths09b3c99Correct initial gather pathsd3e5eb9Correct build integrity checking01d66c2Don't create folders for imported artifacts that don't have metac9eb0c6Don't create folders for imported artifacts that don't have metad7893d9Use clean while moving imported infoa06ac84Use clean while moving imported infoc3c7b80Use clean while moving imported info6b35583Use clean while moving imported info07a8a9dUse indirect artifact archiverab0d724Load module before cleaning0a0df4dLoad module before cleaning1a11141Type parameters to archive method8e53968Type parameters to archive method670d7b2Handle v0.1 imported associated metac76a1d6Handle v0.1 imported associated meta25938ceHandle v0.1 imported associated meta95506b8Handle v0.1 imported associated meta7e63a31Handle v0.1 imported associated meta6e3c993Handle v0.1 imported associated metacd43ecfHandle v0.1 imported associated metaf44dc09Handle v0.1 imported associated metaf09c84eHandle v0.1 imported associated metad93eb4bHandle v0.1 imported associated meta4005488Handle v0.1 imported associated meta16061cfHelp the meta walker find the meta data for a childf554d5bHelp the meta walker find the meta data for a childd945efbHelp the meta walker find the meta data for a child2a7e94bDebug components5e1a008Alter release process to handle new meta walker info29f6660Alter release process to handle new meta walker info9d4b6ecAlter release process to handle new meta walker info236aa6fAlter release process to handle new meta walker info8ccca6aAlter release process to handle new meta walker info2f8ac67Alter release process to handle new meta walker infoaf1c499Alter release process to handle new meta walker info2fe1414Alter release process to handle new meta walker info0b057d0Alter release process to handle new meta walker info206e0f3Alter release process to handle new meta walker infoa342a0fAlter release process to handle new meta walker info55a087bMake the walkers carry more meta datadcd5fe6Make the walkers carry more meta data4b72bbaMake the walkers carry more meta data61e2834Make the walkers carry more meta data93ad1beMake the walkers carry more meta data053b39bMake the walkers carry more meta data5b50023Merge remote-tracking branch 'origin/production'755bb99Wipe out an additional folder that the logic is now exportingece2670Make the walkers carry more meta datab973208Try to walk through build meta items99aa54aTry to walk through build meta items5b35002Try to walk through build meta items82dc66dUse importer to get build artifacts to releasef417682Use importer to get build artifacts to releaseb64672cUse importer to get build artifacts to releasee35826fUse importer to get build artifacts to release135fddbUse importer to get build artifacts to releasefc34f64Use importer to get build artifacts to releasef3a0f9fUse importer to get build artifacts to releaseaff9e3eUse importer to get build artifacts to release96621afUse importer to get build artifacts to release7d8e910Use importer to get build artifacts to release1ee2be6Use importer to get build artifacts to release9b27520Make all walkers use a walker that understand v0.1 and v0.2 formatsc985dcbUse non-deprecated methods for importing523407fMake sure all jobs are using the new archiver149e1fdMake sure all jobs are using the new archivere9157c3Make sure all jobs are using the new archivere57708aMake sure all jobs are using the new archiver6502cf7Make sure all jobs are using the new archiver0406350Make sure all jobs are using the new archiver9e0fe09Make sure all jobs are using the new archiverf31914dMake sure all jobs are using the new archiver2ba3717Handle v0.1 and v0.2 formats simultaneouslya646881Remove debug; RelatedMetaInfo does not store meta info anymore6bf8b58Walk a tree of imported meta0359773Walk a tree of imported metaaf5f19bWalk a tree of imported meta04d17c1Walk a tree of imported meta84c313aWalk a tree of imported meta3b446d0Walk a tree of imported meta6200503Walk a tree of imported meta3447179Walk a tree of imported meta0d396e0Walk a tree of imported metaa87cb8bWalk a tree of imported meta71349d9Walk a tree of imported meta4132c4dWalk a tree of imported metac39aac8Use credential manager to perform sudo operationsc7ff759Use credential agent to supply password36b9f2eUse credential agent to supply passwordb397a07Remove python checkout when it is not used450f38eRelay input meta files to output meta folderse466480Relay input meta files to output meta foldersf98f9e9Relay input meta files to output meta foldersdfcbbf1Record the import path of meta data19d7103Don't serialise associated meta data0701945Start writing format version into meta data filedf492c8Start writing format version into meta data filec661492Start writing format version into meta data file74ad66bStart writing format version into meta data filec916bf9Merge remote-tracking branch 'origin/master' into production9aeb686erge commit '26c90cfbe72aa574c4df627e618e5ab2a230a41b' into production557ad6cMerge commit '1c5d8fc0fd06e72f20600f51680bbe629f010b82' into mastere75eb96Handle long version number strings eg. in sha codesc989904Add a default archivercb65d2bAdd a default archiver8c2b3abAdd a default archiver8d3afbbAdd a default archivera301529Add a default archiver0602daeAdd a default archiver0f217b8Add a default archivera91d0d5Add a default archiver2763813Add a default archiver721375aDefer archiving artifacts to a loaded script710557dHandle pre-generated buildnumber603e13cHandle pre-generated buildnumber79d92bfHandle pre-generated buildnumber7b1eb11Handle pre-generated buildnumber9246812Handle pre-generated buildnumberd261eb2Handle pre-generated buildnumber76b05afPass the parent build stamp to child jobs; Use the same Atlas services source code commit in all child jobsf7cc216Pass the parent build stamp to child jobs; Use the same Atlas services source code commit in all child jobs51156e2Merge commit '447b5234db39500e985b7900bc2264319f4b5ae3' into master815a9e9Remove ACM from Vertical stack (as it is using different versions of Atlas); Import the MCS version that was used to build Atlas UI793c979Remove ACM from Vertical stack (as it is using different versions of Atlas); Import the MCS version that was used to build Atlas UIa1340eaProvide specific parameter names appropriate to type of post build job being called94ba8c7Provide specific parameter names appropriate to type of post build job being calleddf17c09Correct import of print server binaries4f57c1cRemove some post build log724179cUse extended email to send emails on failed buildc4ea96aUse extended email to send emails on failed build414a85fUse extended email to send emails on failed buildeb7eed4Use extended email to send emails on failed buildae2c515Use extended email to send emails on failed build39fcf5eUse extended email to send emails on failed build804929bUse extended email to send emails on failed build752ed54Use extended email to send emails on failed buildb2a9f19Use extended email to send emails on failed build7b58c8cUse extended email to send emails on failed build944b95bUse extended email to send emails on failed build941d5b3Use extended email to send emails on failed build5053f37Use extended email to send emails on failed build6779041Use extended email to send emails on failed build90e8e67Use extended email to send emails on failed buildf93acc5Use extended email to send emails on failed build404cdefUse extended email to send emails on failed build66ffedfUse extended email to send emails on failed buildf41825dUse extended email to send emails on failed build1bf41f1Use extended email to send emails on failed build7cfd3f2Use extended email to send emails on failed build0469b40Use extended email to send emails on failed buildece760fUse extended email to send emails on failed buildefa2900Use extended email to send emails on failed buildd7fae34Use extended email to send emails on failed buildc681874Add failed build action33208a4Add failed build action61a519dAdd failed build actionf7b0a22Add failed build actionbb477a2Add failed build action1ad79a3Add failed build actionee1ad67Add failed build action0ec7308Add failed build action3b9ba8bAdd failed build action1a67b16Add failed build action12c6b71Add failed build action1b4e670Add failed build action8b0c194Add failed build action607232dAdd failed build action3f5001aAdd use of post build info json0aeadaaAdd use of post build info json0486d41Add use of post build info jsondc894e9Add use of post build info jsonec8ad90Add use of post build info jsona5b06d7Add use of post build info json951d694Add use of post build info jsonfa33404Add use of post build info json458d960Add use of post build info jsone90a217Add use of post build info json2cbe8f3Add use of post build info json535076bAdd use of post build info jsonba2fa8cAdd a JSON object passing mechanism2f65f29Add a JSON object passing mechanism037f00fAdd a JSON object passing mechanismee23488Check for more than one commit associated with source git urls3d2a103Check for product components using the same release git urlc8373c6Check for product components using the same release git url92e165bCheck for product components using the same release git urlb04f5b0Add a diff post build action2d3aa7fResurrect ccm5d8860fResurrect ccmca5436bResurrect ccm0ac129bResurrect ccma86ca86Update parameter usage on git checkoutc87c3bbAdd a diff post build action7db1c3aAdd a diff post build actionfe32259Handle different types of build selector parameterec9f9e9Handle different types of build selector parameter5ee449eHandle different types of build selector parameter6a8d736Use the version of print server that atlas services is using - so that there are less build configuration issues68422e3Use the version of print server that atlas services is using - so that there are less build configuration issues458a2e2Use the version of print server that atlas services is using - so that there are less build configuration issues904f3c4Use the version of print server that atlas services is using - so that there are less build configuration issuesec0b7d7Use the version of print server that atlas services is using - so that there are less build configuration issues5e71ed6Merge commit '9177787fd4' into core-502_VerticalStackRefactor git-subtree-dir: autobuild/Common_scripts git-subtree-split:6f0a4482be
114 lines
4 KiB
Groovy
114 lines
4 KiB
Groovy
pipeline {
|
|
agent { label AGENT_LABEL }
|
|
stages {
|
|
stage('Initial setup') {
|
|
steps {
|
|
script {
|
|
meta = load("${WORKSPACE}/autobuild/Common_scripts/autobuilder.groovy").startnonbuild(this)
|
|
}
|
|
}
|
|
}
|
|
stage('Checkout dependencies') {
|
|
steps {
|
|
script {
|
|
configurationhelper = autobuilder.configurationhelper()
|
|
|
|
PYTHONURL = 'git@hydra:tools/python.git'
|
|
PYTHONBRANCH = 'origin/3.6.3_windows'
|
|
PYTHONDIR = "${WORKSPACE}/python"
|
|
configurationhelper.gitCheckoutAndRegister(meta, 'python', PYTHONURL, PYTHONBRANCH, PYTHONDIR)
|
|
env.PYTHON = "${PYTHONDIR}/ver/python.exe"
|
|
}
|
|
}
|
|
}
|
|
stage('Checkout source') {
|
|
steps {
|
|
script {
|
|
SOURCEREVISION = "${SOURCE_REVISION}"
|
|
SOURCEDIR = "${WORKSPACE}/source"
|
|
configurationhelper.gitCheckoutAndRegister(meta, 'source', SOURCEURL, SOURCEREVISION, SOURCEDIR, '', 0, false)
|
|
SOURCE_PATH = "${SOURCEDIR}"
|
|
env.SRC = "${SOURCE_PATH}/${SOURCE_OFFSET_PATH}"
|
|
}
|
|
}
|
|
}
|
|
stage("Clean exports") {
|
|
steps {
|
|
script {
|
|
STATICANALYSIS = 'staticanalysis'
|
|
cleanfolders = [
|
|
STATICANALYSIS,
|
|
]
|
|
cleaner = load("${autobuilder.commonscripts()}/clean/clean.groovy")
|
|
cleaner.clean(cleanfolders)
|
|
}
|
|
}
|
|
}
|
|
stage('Generating version info') {
|
|
steps {
|
|
script {
|
|
version = load("${autobuilder.commonscripts()}/versionnumbering/generate.groovy")
|
|
version.generate(meta, SOURCE_REVISION, SOURCE_PATH)
|
|
}
|
|
}
|
|
}
|
|
stage('Static analysis') {
|
|
steps {
|
|
script {
|
|
def CPPCHECKFOLDER = "${STATICANALYSIS}/cppcheck"
|
|
dir(CPPCHECKFOLDER) {
|
|
echo "Executing: ${CPPCHECK} --xml --xml-version=2 ${SRC} 2> cppcheck.xml"
|
|
if (isUnix()) {
|
|
sh """#!/bin/bash
|
|
set -e
|
|
|
|
"${CPPCHECK}" --xml --xml-version=2 "${SRC}" 2> cppcheck.xml
|
|
"""
|
|
} else {
|
|
bat """
|
|
"${CPPCHECK}" --xml --xml-version=2 "${SRC}" 2> cppcheck.xml
|
|
"""
|
|
}
|
|
}
|
|
recordIssues(tools: [
|
|
cppCheck(pattern: "**/cppcheck.xml", reportEncoding: 'UTF-8'),
|
|
])
|
|
}
|
|
}
|
|
}
|
|
stage('Classifying publishable artifacts') {
|
|
steps {
|
|
script {
|
|
def publishable = [
|
|
]
|
|
publishutils = load("${autobuilder.commonscripts()}/publishing/utils.groovy")
|
|
publishutils.generatelist(meta, publishable)
|
|
}
|
|
}
|
|
}
|
|
stage('Archiving artifacts') {
|
|
steps {
|
|
script {
|
|
ArrayList<String> itemsForRelease = ["${STATICANALYSIS}/**"]
|
|
def artifactlist = meta.generateartifacts(itemsForRelease)
|
|
artifactarchiver = load("${autobuilder.commonscripts()}/artifacts/archiver.groovy")
|
|
artifactarchiver.archive(meta, artifactlist)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
echo 'Post-build'
|
|
}
|
|
failure {
|
|
echo 'Failed build'
|
|
}
|
|
unstable {
|
|
echo 'Unstable build'
|
|
}
|
|
success {
|
|
echo 'Succeeded build'
|
|
}
|
|
}
|
|
}
|