简体   繁体   中英

IBM Cloud DevOps java build + test

We have a pipeline that uses Build task with 'Gradle (Artifactory, Nexus, or SonarQube)' for gradle builds of java application. Tests are also using gradle, what tester type should be used for a pipeline job with that ?

There is no test type for build tools. However, there are two alternatives you can implement instead:

  1. Use a build job type, run the test, echo a link to the test results and exit using a status
  2. Use the new custom image support to either create your own docker image with gradle (along with anything else) or use an existing one in docker hub like this one: https://hub.docker.com/_/gradle/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM