一千萬個為什麽

搜索

我如何用插件最好地測試Jenkinsfile?



I'd like to replicate building a pipeline in my personal lab with similar conditions to what my Dev/QA goals are. I already have an AWS-hosted jenkins server, but my understanding of how Nexus & Gradle work with it is in logic only, not in practice, so I'm stuck on that part. Are there public Nexus repos from which I can pull/publish for testing and building with Gradle?

理想情況下,我想在jenkins文件中測試的內容是:

  • Prepare

    • Connect to Github for jenkinsfile
    • Connect to a Nexus repo
    • Download jars from Nexus repo
  • Build

    • Simulate building a sample app from the Nexus jars
  • Test

    • Simulate a run thru Junit

轉載註明原文: 我如何用插件最好地測試Jenkinsfile?

一共有 0 個回答: