提交 62902ead authored 作者: husishuai's avatar husishuai

测试jfrog

上级 d8dadcaf
流水线 #315 已失败 于阶段
in 35 秒
...@@ -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 - jf c add --url=$ARTIFACTORY_URL --user=$ARTIFACTORY_USER --password=$ARTIFACTORY_PASS
- jf rt c show - jf 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.
...@@ -34,4 +34,5 @@ jfrog-check: ...@@ -34,4 +34,5 @@ jfrog-check:
# Pass the build information to Artifactory # Pass the build information to Artifactory
- jf 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 - --url= --user=<USERNAME> --access-token=<ACCESS_TOKEN>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论