TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Should I use Jenkins to Test or Gradle?

1 点作者 anon223345大约 2 年前
It seems gradle, and jenkins can both run tests and deploy.<p>Is best practice to run tests with Jenkins, and Deploy with Jenkins, and just use Gradle to Build?<p>It seems weird to offload so much to Gradle when the point of Jenkins is to coordinate the build steps

1 comment

mdmglr大约 2 年前
I loathe Jenkins and it’s Jenkinsfile, and the older XML or GUI configuration for their plug-ins. So I do everything in gradle and have jenkins run gradle commands.<p>Just to share: there is value in the ability to run the build on any developer machine. Jenkinsfiles, GitHub Actions workflow yaml files, and GitLab CI yaml files can’t be run on any machine without some shim program to interpret and run those files.<p>So I see this as a separation of concerns problem. Jenkins is to run builds in a distributed manner, gradle or bash scripts are to orchestrate the build&#x2F;testing.<p>Right now we have mix of Macs, Linux and Windows devs. I’m considering replacing bash scripts with Powershell Core in projects that do not have&#x2F;want gradle. Powershell is promising and fully cross platform.<p>I personally believe gradle does to much. But there isn’t much choice in Java projects.
评论 #35550794 未加载