Seperate history processing from results
This commit is contained in:
parent
222a2374d0
commit
058bfbbc40
1 changed files with 20 additions and 13 deletions
|
|
@ -90,6 +90,13 @@ pipeline {
|
||||||
ftdiimportoptions.toolRepo(FTDI_SOURCE_URL, FTDI_SOURCE_REVISION)
|
ftdiimportoptions.toolRepo(FTDI_SOURCE_URL, FTDI_SOURCE_REVISION)
|
||||||
toolsimporter.getTool(meta, ftdiimportoptions, FTDI_SOURCE_DIR)
|
toolsimporter.getTool(meta, ftdiimportoptions, FTDI_SOURCE_DIR)
|
||||||
|
|
||||||
|
def HISTORY_PROCESSING_REPO = 'git@hydra:python_scripts/hmb_results_history_processing.git'
|
||||||
|
HISTORY_PROCESSING_DIR = "${WORKSPACE}/HistoryProcessing"
|
||||||
|
|
||||||
|
def resultprocessingoptions = toolsimporter.getNewToolOptions()
|
||||||
|
resultprocessingoptions.toolName('History processing')
|
||||||
|
resultprocessingoptions.toolRepo(HISTORY_PROCESSING_REPO, HISTORY_PROCESSING_REVISION)
|
||||||
|
toolsimporter.getTool(meta, resultprocessingoptions, HISTORY_PROCESSING_DIR)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -165,19 +172,19 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
stage("Archive Test History") {
|
||||||
}
|
steps{
|
||||||
stage("Archive Test History") {
|
script {
|
||||||
steps{
|
dir(HISTORY_FOLDER) {
|
||||||
script {
|
rc = bat (script:"""
|
||||||
dir(HISTORY_FOLDER) {
|
"${PYTHON}" "${HISTORY_PROCESSING_DIR}/GitCyclicPush.py"
|
||||||
rc = bat (script:"""
|
""",
|
||||||
"${PYTHON}" "GitCyclicPush.py"
|
returnStatus: true
|
||||||
""",
|
)
|
||||||
returnStatus: true
|
if (rc == 1) {
|
||||||
)
|
unstable('FAILED to process history')
|
||||||
if (rc == 1) {
|
}
|
||||||
unstable('FAILED to process history')
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue