Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Administrator
Public Java Test
Commits
14d95253
Commit
14d95253
authored
Oct 23, 2023
by
shengnan hu
Browse files
test4
parent
7b3dcda1
Pipeline
#5
passed with stage
in 1 minute and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
.gitlab-ci.yml
.gitlab-ci.yml
+2
-4
No files found.
.gitlab-ci.yml
View file @
14d95253
...
...
@@ -21,8 +21,8 @@ variables:
CAFEHUNTER_CLI_CONFIG_PATH
:
"
/root/analysis-tool/config.yml"
# 规则配置文件
# 根据项目进行配置
HUB_PROJECT_ID
:
"
10"
# 对应平台项目Id
REPOSITORY_FULL_PATH
:
"
/builds/root/public
J
ava
T
est"
# 项目绝对路径,供套件分析
REPOSITORY_NAME
:
"
public
J
ava
T
est"
# 项目名称
REPOSITORY_FULL_PATH
:
"
/builds/
hub-gitlab/
root/public
-j
ava
-t
est"
# 项目绝对路径,供套件分析
REPOSITORY_NAME
:
"
public
-j
ava
-t
est"
# 项目名称
upload-job
:
...
...
@@ -44,8 +44,6 @@ upload-job:
-
$CAFEHUNTER_CLI_SCRIPT version -i
-
$CAFEHUNTER_CLI_SCRIPT -k $CAFEHUNTER_CLI_LICENSE_PATH
# 将游离分支转换为正常分支 以供套件分析
-
cd /builds
-
ls
-
cd $REPOSITORY_FULL_PATH
-
git fetch
-
git branch tmp-$CI_JOB_ID-$CI_JOB_NAME $CI_COMMIT_SHA
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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