Commit c0a21210 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

use $JOBNAME

parent 7158b9a6
Pipeline #136 passed with stages
in 10 seconds
...@@ -22,7 +22,7 @@ echo "===================== show package info =====================" ...@@ -22,7 +22,7 @@ echo "===================== show package info ====================="
pip show $JOB_NAME pip show $JOB_NAME
echo "===================== download code style tests =====================" echo "===================== download code style tests ====================="
if [ "JOB_NAME" != "csst_proto" ]; then if [ "$JOB_NAME" != "csst_proto" ]; then
curl -O https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main/pipelines/test_codestyle.py curl -O https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main/pipelines/test_codestyle.py
fi fi
coverage run -m pytest coverage run -m pytest
...@@ -33,7 +33,7 @@ coverage html ...@@ -33,7 +33,7 @@ coverage html
# zip -q -r htmlcov.zip htmlcov # zip -q -r htmlcov.zip htmlcov
echo "===================== importability =====================" echo "===================== importability ====================="
python -c "from $project.top_level_interface import *" python -c "from $JOB_NAME.top_level_interface import *"
echo "===================== POST BUILD BELOW =====================" echo "===================== POST BUILD BELOW ====================="
# In Jenkins: # In Jenkins:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment