[英]How can I use just created build in downstream job
I have 2 jobs in Jenkins: 我在詹金斯(Jenkins)有2个工作:
Job-2 is a Downstream project of Job-1 . Job-2是Job-1的下游项目。
Job-1 initiates build and run unit tests on it. Job-1在其上启动构建并运行单元测试。 Job-2 initiates build as well and run integration tests.
Job-2也会启动构建并运行集成测试。
I would like to change that, and make Job-2 to run the tests on the result build that was initiated by Job-1 . 我想更改它, 并使Job-2在由Job-1启动的结果构建上运行测试。
You could use Copy Artifact Plugin and use Job-1 artifacts from Job-2 to run some tests on them. 您可以使用Copy Artifact插件,并使用Job-2中的Job-1工件对其进行一些测试。 Refer to this post for more information.
请参阅此帖子以获取更多信息。 Hope it will help.
希望它会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.