use build.py in jenkins

old-commit-hash: b79ec74483
commatwo_master
Adeeb Shihadeh 4 years ago
parent bb70ddcbfe
commit ef2d27edb2
  1. 10
      Jenkinsfile

10
Jenkinsfile vendored

@ -138,7 +138,7 @@ pipeline {
stage('Replay Tests') { stage('Replay Tests') {
steps { steps {
phone_steps("eon2", [ phone_steps("eon2", [
["build QCOM_REPLAY", "SCONS_CACHE=1 QCOM_REPLAY=1 scons -j4"], ["build QCOM_REPLAY", "cd selfdrive/manager && QCOM_REPLAY=1 ./build.py"],
["camerad/modeld replay", "cd selfdrive/test/process_replay && ./camera_replay.py"], ["camerad/modeld replay", "cd selfdrive/test/process_replay && ./camera_replay.py"],
]) ])
} }
@ -147,7 +147,7 @@ pipeline {
stage('HW + Unit Tests') { stage('HW + Unit Tests') {
steps { steps {
phone_steps("eon", [ phone_steps("eon", [
["build", "SCONS_CACHE=1 scons -j4"], ["build", "cd selfdrive/manager && ./build.py"],
["test athena", "nosetests -s selfdrive/athena/tests/test_athenad_old.py"], ["test athena", "nosetests -s selfdrive/athena/tests/test_athenad_old.py"],
["test sounds", "nosetests -s selfdrive/test/test_sounds.py"], ["test sounds", "nosetests -s selfdrive/test/test_sounds.py"],
["test boardd loopback", "nosetests -s selfdrive/boardd/tests/test_boardd_loopback.py"], ["test boardd loopback", "nosetests -s selfdrive/boardd/tests/test_boardd_loopback.py"],
@ -186,7 +186,7 @@ pipeline {
} }
steps { steps {
phone_steps("tici", [ phone_steps("tici", [
["build", "SCONS_CACHE=1 scons -j8"], ["build", "cd selfdrive/manager && ./build.py"],
["test loggerd", "python selfdrive/loggerd/tests/test_loggerd.py"], ["test loggerd", "python selfdrive/loggerd/tests/test_loggerd.py"],
["test encoder", "LD_LIBRARY_PATH=/usr/local/lib python selfdrive/loggerd/tests/test_encoder.py"], ["test encoder", "LD_LIBRARY_PATH=/usr/local/lib python selfdrive/loggerd/tests/test_encoder.py"],
["onroad tests", "cd selfdrive/test/ && ./test_onroad.py"], ["onroad tests", "cd selfdrive/test/ && ./test_onroad.py"],
@ -198,7 +198,7 @@ pipeline {
stage('camerad') { stage('camerad') {
steps { steps {
phone_steps("eon-party", [ phone_steps("eon-party", [
["build", "SCONS_CACHE=1 scons -j8"], ["build", "cd selfdrive/manager && ./build.py"],
["test camerad", "python selfdrive/camerad/test/test_camerad.py"], ["test camerad", "python selfdrive/camerad/test/test_camerad.py"],
["test exposure", "python selfdrive/camerad/test/test_exposure.py"], ["test exposure", "python selfdrive/camerad/test/test_exposure.py"],
]) ])
@ -208,7 +208,7 @@ pipeline {
stage('Tici camerad') { stage('Tici camerad') {
steps { steps {
phone_steps("tici-party", [ phone_steps("tici-party", [
["build", "SCONS_CACHE=1 scons -j8"], ["build", "cd selfdrive/manager && ./build.py"],
["test camerad", "python selfdrive/camerad/test/test_camerad.py"], ["test camerad", "python selfdrive/camerad/test/test_camerad.py"],
["test exposure", "python selfdrive/camerad/test/test_exposure.py"], ["test exposure", "python selfdrive/camerad/test/test_exposure.py"],
]) ])

Loading…
Cancel
Save