我如何在Docker中的Jenkins中运行Katalon测试套件 [英] How do I run Katalon test suite in Jenkins inside Docker

查看:235
本文介绍了我如何在Docker中的Jenkins中运行Katalon测试套件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Katalon测试套件设置,它可以在用户界面和安装了Katalon studio的计算机上的CLI中很好地运行.

I have a Katalon test suite setup and it runs great in the UI and from the CLI on the machine where I have Katalon studio installed.

我有一个在Docker容器中运行的Jenkins CI服务器,我想设置一个作业在该Jenkins服务器上运行我的测试套件.

I have Jenkins CI server running in a docker container, and I would like to setup a job to run my test suite on that Jenkins server.

在Jenkins服务器上我需要什么运行时才能运行Katalon作业?为此,是否有Jenkins的运行时或插件?

What runtime do I need on the Jenkins server so it can run a Katalon job? Is there a runtime or a plugin for Jenkins for this?

如果不是,是否有Katalon的docker容器,我可以使用它通过jenkins远程运行作业,例如SonarQube的东西?

If not, is there a docker container for Katalon that I can use to remotely run the job via jenkins, like the SonarQube stuff?

推荐答案

编辑-来自Katalon支持的新答案

EDIT - New answer from Katalon support

我收到Katalon支持的新回复,内容是:

I got a new response from Katalon support that says:

首先,由于我没有根据您的问题给出适当的答案,对不起我的回答.我再次查看了您的问题,并看到Katalon Studio具有Linux版本( http: //download.katalon.com/4.8.0/Katalon_Studio_Linux_64-4.8.tar.gz )用于控制台模式执行,并且最好将其打包到您的dockerfile中.

First of all, I would to sorry for my answer due to I'm not giving out the proper one based on your question. I've reviewed again your question and see Katalon Studio have Linux version (http://download.katalon.com/4.8.0/Katalon_Studio_Linux_64-4.8.tar.gz) for console mode execution and it's ideally to package it into your dockerfile.

更像它,并且通过这里的文档,可以很容易地将其与Docker一起使用:

That's more like it, and with the documentation here it should be pretty straightforward to get it working with Docker:

https://docs.katalon.com/display/KD/Console+模式+执行

希望这个答案可以更好地解决您的问题:).

Hope this answer resolve your question better :).

END EDIT


原始

我在Katalon Studio网站上创建了一个票证,问了同样的问题,并且得到了这个(可笑的)答复:

I created a ticket on the Katalon Studio website asking this same question, and I got this (laughable) response:

首先,Katalon Studio没有Dockerfile.这样做将是困难而复杂的,而且我们也没有未来的计划:).但是,我们将尝试根据您的要求考虑此情况是否有适用的调整.

First of all, there is no Dockerfile for Katalon Studio. It will be hard and complicated to do this and we also do not have a plan to do it in the future :). But we will try to consider with your request to see if there is any applicable adjustment to this case.

换句话说,没有Docker解决方案.不能将其用于CI产品太可惜了,因为我在原型制作方面取得了不错的成绩.

In other words, no Docker solution. It's too bad that we can't use it for our CI stuff, since I had good results with the prototyping I did.

哦,好吧.

这篇关于我如何在Docker中的Jenkins中运行Katalon测试套件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆