Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
sonarqube
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
胡帅
sonarqube
Commits
18df6e38
Project 'sy/seatunnel-web' was moved to 'songyong/seatunnel-web'. Please update any links and bookmarks that may still have the old path.
提交
18df6e38
authored
4月 03, 2024
作者:
husishuai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
测试jfrog
上级
99e4a1e6
流水线
#310
已失败 于阶段
in 51 秒
变更
1
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
6 行增加
和
6 行删除
+6
-6
.gitlab-ci.yml
.gitlab-ci.yml
+6
-6
没有找到文件。
.gitlab-ci.yml
浏览文件 @
18df6e38
...
@@ -18,8 +18,8 @@ jfrog-check:
...
@@ -18,8 +18,8 @@ jfrog-check:
# Install JFrog CLI
# Install JFrog CLI
-
curl -fL https://getcli.jfrog.io | sh
-
curl -fL https://getcli.jfrog.io | sh
# Configure Artifactory instance with JFrog CLI
# Configure Artifactory instance with JFrog CLI
-
jf
rt config --url=$ARTIFACTORY_URL --user=$ARTIFACTORY_USER --password=$ARTIFACTORY_PASS
-
./jfrog
rt config --url=$ARTIFACTORY_URL --user=$ARTIFACTORY_USER --password=$ARTIFACTORY_PASS
-
jf
rt c show
-
./jfrog
rt c show
# Set the M2_HOME environment variable
# Set the M2_HOME environment variable
# - export M2_HOME=/usr/share/maven
# - export M2_HOME=/usr/share/maven
# Replace the repository name in the configuration.yml to the correct one.
# Replace the repository name in the configuration.yml to the correct one.
...
@@ -27,12 +27,11 @@ jfrog-check:
...
@@ -27,12 +27,11 @@ jfrog-check:
script
:
script
:
# Run the MVN command
# Run the MVN command
# - export JAVA_HOME=/data/jdk/jdk-17.0.7
# - export JAVA_HOME=/data/jdk/jdk-17.0.7
-
jf
rt mvn "clean install" configuration.yml --build-name=gitlabci-maven-artifactory --build-number=$CI_JOB_ID
-
./jfrog
rt mvn "clean install" configuration.yml --build-name=gitlabci-maven-artifactory --build-number=$CI_JOB_ID
# - ./jfrog rt mvn "clean install" configuration.yml --build-name=gitlabci-maven-artifactory --build-number=$CI_JOB_ID
# - ./jfrog rt mvn "clean install" configuration.yml --build-name=gitlabci-maven-artifactory --build-number=$CI_JOB_ID
# Collect the environment variables
# Collect the environment variables
-
jf
rt bce gitlabci-maven-artifactory $CI_JOB_ID
-
./jfrog
rt bce gitlabci-maven-artifactory $CI_JOB_ID
# Pass the build information to Artifactory
# Pass the build information to Artifactory
-
jf rt bp gitlabci-maven-artifactory $CI_JOB_ID
-
./jfrog rt bp gitlabci-maven-artifactory $CI_JOB_ID
# - jf rt bp gitlabci-maven-artifactory $CI_JOB_ID
only
:
only
:
-
master
# or the name of your main branch
-
master
# or the name of your main branch
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论