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)
|
||||
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{
|
||||
script {
|
||||
dir(HISTORY_FOLDER) {
|
||||
rc = bat (script:"""
|
||||
"${PYTHON}" "GitCyclicPush.py"
|
||||
""",
|
||||
returnStatus: true
|
||||
)
|
||||
if (rc == 1) {
|
||||
unstable('FAILED to process history')
|
||||
stage("Archive Test History") {
|
||||
steps{
|
||||
script {
|
||||
dir(HISTORY_FOLDER) {
|
||||
rc = bat (script:"""
|
||||
"${PYTHON}" "${HISTORY_PROCESSING_DIR}/GitCyclicPush.py"
|
||||
""",
|
||||
returnStatus: true
|
||||
)
|
||||
if (rc == 1) {
|
||||
unstable('FAILED to process history')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue