Archive documents when build
This commit is contained in:
40
Jenkinsfile
vendored
40
Jenkinsfile
vendored
@@ -42,8 +42,6 @@ pipeline {
|
|||||||
dir('xua_unit_tests') {
|
dir('xua_unit_tests') {
|
||||||
withVenv {
|
withVenv {
|
||||||
runWaf('.', "configure clean build --target=xcore200")
|
runWaf('.', "configure clean build --target=xcore200")
|
||||||
// runWaf('.', "configure clean build --target=xcoreai")
|
|
||||||
// stash name: 'xua_unit_tests', includes: 'bin/*xcoreai.xe, '
|
|
||||||
viewEnv() {
|
viewEnv() {
|
||||||
runPython("TARGET=XCORE200 pytest -s")
|
runPython("TARGET=XCORE200 pytest -s")
|
||||||
}
|
}
|
||||||
@@ -55,42 +53,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// stage('xcore.ai Verification') {
|
|
||||||
// agent {
|
|
||||||
// label 'xcore.ai-explorer'
|
|
||||||
// }
|
|
||||||
// options {
|
|
||||||
// skipDefaultCheckout()
|
|
||||||
// }
|
|
||||||
// stages{
|
|
||||||
// stage('Get View') {
|
|
||||||
// steps {
|
|
||||||
// xcorePrepareSandbox("${VIEW}", "${REPO}")
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// stage('Unit tests') {
|
|
||||||
// steps {
|
|
||||||
// dir("${REPO}") {
|
|
||||||
// dir('tests') {
|
|
||||||
// dir('xua_unit_tests') {
|
|
||||||
// withVenv {
|
|
||||||
// unstash 'xua_unit_tests'
|
|
||||||
// viewEnv() {
|
|
||||||
// runPython("TARGET=XCOREAI pytest -s")
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// } // stages
|
|
||||||
// post {
|
|
||||||
// cleanup {
|
|
||||||
// cleanWs()
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
stage('xCORE builds') {
|
stage('xCORE builds') {
|
||||||
steps {
|
steps {
|
||||||
dir("${REPO}") {
|
dir("${REPO}") {
|
||||||
@@ -99,6 +61,8 @@ pipeline {
|
|||||||
runXdoc('doc')
|
runXdoc('doc')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Archive all the generated .pdf docs
|
||||||
|
archiveArtifacts artifacts: "${REPO}/**/pdf/*.pdf", fingerprint: true, allowEmptyArchive: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user