Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_proto
Commits
c0a21210
Commit
c0a21210
authored
Sep 20, 2022
by
BO ZHANG
🏀
Browse files
use $JOBNAME
parent
7158b9a6
Pipeline
#136
passed with stages
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pipelines/build.sh
View file @
c0a21210
...
...
@@ -22,7 +22,7 @@ echo "===================== show package info ====================="
pip show
$JOB_NAME
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
fi
coverage run
-m
pytest
...
...
@@ -33,7 +33,7 @@ coverage html
# zip -q -r htmlcov.zip htmlcov
echo
"===================== importability ====================="
python
-c
"from
$
project
.top_level_interface import *"
python
-c
"from
$
JOB_NAME
.top_level_interface import *"
echo
"===================== POST BUILD BELOW ====================="
# In Jenkins:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment