lym d870479aa8 support moments temp | il y a 10 mois | |
---|---|---|
src | il y a 10 mois | |
.drone.yml | il y a 1 an | |
.gitignore | il y a 1 an | |
LICENSE | il y a 1 an | |
README.md | il y a 1 an | |
icon.png | il y a 1 an | |
pom-update-schema-and-demo-data.sql | il y a 1 an | |
pom-update-schema.sql | il y a 1 an | |
pom.xml | il y a 10 mois |
Check if there are updates to the direct dependencies of your maven project.
Test Now:
yourEmail@demo.com
) and 🔗pom.xml link into yours or you will meet error.与 maven 的 mvn versions:display-dependency-updates
相比
总结:
修改配置文件 或 添加环境变量(二选一)
# 邮箱,如 demo@qq.com
TEST_SENDER_EMAIL
# 邮箱 SFTP token,自行搜索获取
TEST_EMAIL_TOKEN
# MYSQL 地址、用户名、密码
MYSQL_ADDR
MYSQL_PWD
http://localhost:12345/index.html 选择 pom 输入希望接受邮件的邮箱 your@demoemail.com
http://localhost:12345/test/version 检查所有工程 version
http://localhost:12345/test/notify 给所有需要更新的人发邮件通知
# TEMP TEST
curl --location --request GET 'http://localhost:12345/projects/createWithUrl?email=yourEmail@demo.com&pomXmlUrl=https://raw.githubusercontent.com/ChinaLym/shoulder-framework/master/shoulder-dependencies/pom.xml¬ifyInstantlyAfterCheck=true¬ifyReason=ONLY_TEST_DEMO' || echo '======= SKIP dependency check. ======='
# POST
curl --location --request POST 'http://localhost:12345/projects/create' --form 'email=yourEmail@demo.com' --form 'pomXml=@shoulder-dependencies/pom.xml' --form 'notifyInstantlyAfterCheck=true' --form 'notifyReason=CI-<a href="https://cicd.yourdomain.com/xxx/${DRONE_REPO_NAME}">${DRONE_REPO_NAME}::${DRONE_REPO_BRANCH}</a><br> with <a href="https://cicd.yourdomain.cn/gogs/${DRONE_REPO_NAME}/${DRONE_BUILD_NUMBER}">Drone Build-${DRONE_BUILD_NUMBER}</a><br>' || echo '======= SKIP dependency check. ======='
其他:本项目使用了 + Shoulder-Framework (基于Spring-Boot的二次开发套件)搭建省下了不少工作量。