80d9106Correction after subtree pull24023d8Merge commit '1a015978c4bd5b52339eb00ecbe33645d7869ce4'41ec5e4Release_to_git: Handle the case where the URI to the source repo associated with a subsystem and product name has changeda97a129Merge commit '8720092cf2e616db830dc470071ca868c556184e'be93f03Handle path exclusionsedb4451Handle path exclusions21bc371Handle path exclusions0114f4eHandle path exclusionsdf2bd2fHandle path exclusions0514270Handle path exclusions562c1cbHandle path exclusions29cfbbfHandle path exclusions7a590ecHandle path exclusions35018f9Handle path exclusions0890fb0Handle path exclusionsec496bbHandle path exclusions9c9e099Handle path exclusionsc82bbc6Handle path exclusionsd75fd3cHandle path exclusions7aa4e92Handle path exclusions1d18f76Handle path exclusions4ec0d0eHandle path exclusionscaf5ddbHandle path exclusionsea7faf5Show environment7da9f89Include kernel zImage in app package46b2927Include kernel zImage in app package67f5113Update static analysisefc258dUpdate static analysisd8d59baUpdate static analysisc6ea368Add an exclude list1cc691eAdd an exclude listf0959d3Add an exclude lista4b3834Merge commit '7fad74b80fae1f64778569fa436702e9b92b73a2' into masterbde1198Add doxygen deployment scriptb1262efAdd doxygen deployment scriptc473cfbAdd doxygen deployment script1e9b5afAdd doxygen deployment scriptfcd0133Add doxygen deployment script8fd7cdaAdd doxygen deployment script226ac59Add doxygen deployment script2ae9dfcAdd doxygen deployment script6daa1d6Add doxygen deployment script8477a50Add doxygen deployment script748d9f7Add doxygen deployment scripte4086c3Add doxygen deployment script9c81da3Add doxygen deployment scriptbbbd7b6Add doxygen deployment scriptcaf62daAdd doxygen deployment script906714aAdd doxygen deployment script6fa1bdaAdd doxygen deployment script95f1278Add doxygen deployment scriptd5ad9c7Increase time to do project importing before timeoutfc080adMerge commit 'b9124c312613b4c9bccced8565a1ef8f063955ac'b711e3bMerge commit '8e604b9a4c30ad6800c58c661255a64708a1d3e5'50cb58aCORE-52 - Adding additional resources for controlling remote upgrades - debug5e9689aHandle version regex properlyeb1357fMerge commit '0bb00efe55922f00037f664e781377a7c9569448'5559b50Remove redundant parameterb77403cRemove redundant parametera7b13a4Merge commit 'c5b888f5082790fd9f4247aa2ddc84df43b4dc7d'7515aadDebug why prompting publish is not filtering84eb2c5Add parameter to do nested copies869f9d8Add parameter to do nested copiesbdd7282Add parameter to do nested copiesd147e91CORE-58 added cygwin_folder env variable, removed check for binary file0afffb4Merge commit '9c69d262a6df9ab41e9ab02d2c9a552d5fa31369'a5cfe14Clean folders before importing by defaultbb3a79bCorrect import filtere0f0ea2Correct import flattenninge8258c9Correct import flattenningb131bc7Correct import flattenning9698d24Cleanws stash is not saving .git folder0e9186fCorrect workspace clean when autobuild scripts in a custom positionbfa4843Correct workspace clean when autobuild scripts in a custom position7120ea5Add flatten option to job artifact option54c91b3Merge commit '9db0cfef8728f1a64f3ad482b4ace56c325274ba'2d53c17GIS-7336 - Bring in FX3 into PS pipelined7182aeGIS-7336 - Bring in FX3 into PS pipelinede89ba9GIS-7336 - Bring in FX3 into PS pipelineb68652aGIS-7336 - Bring in FX3 into PS pipelineef343d4GIS-7336 - Bring in FX3 into PS pipeline2530250Start converting autobuild for fx3dc35fbbAdding files for autobuild0ed820eMerge commit 'd5e639e226a82dce0aa6a03e4a56f619069c6443'9030623Merge commit '2e7e846bcd3fdd1e2ce478e01c36d361cd4f0e06'a1c1d1bMerge commit 'f893e28c64098992e03655d792db9e5484465e5c'0a99ec6Merge commit '00267c6f051d20f516d4786f24eda39b75899e8d'701621aRemove @Grab command as it is causing the ftpclient jobs to explodec017cd2Omit BASEBUILDNUMBER so it defaults to 00746e12Merge commit '237bd3d7380719d6228e50eb2e791875a69fb416'9f00d34Stop using deprecated APIed33b6dMerge commit '1c2a190b29d4e6144d6caf45d368325ae6cdb15f'25496a4Remove redundant parameter; Use latest api git-subtree-dir: autobuild/Common_scripts git-subtree-split:80d9106f41
113 lines
3.9 KiB
Groovy
113 lines
3.9 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)
|
|
archiveArtifacts "${artifactlist}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
echo 'Post-build'
|
|
}
|
|
failure {
|
|
echo 'Failed build'
|
|
}
|
|
unstable {
|
|
echo 'Unstable build'
|
|
}
|
|
success {
|
|
echo 'Succeeded build'
|
|
}
|
|
}
|
|
}
|