[英]Unable to launch Chrome browser through Selenium in Jenkins on Linux platform
[英]Unable to launch the Jenkins console which is running on Linux box
我剛剛使用以下命令從 docker 集線器中提取了 Jenkins 圖像。
sudo docker pull jenkins
sudo docker run -p 7071:7071 -p 50000:50000 jenkins
this command help me to run the jenkins image inside the docker container
現在的問題是我只想運行 Jenkins 控制台來創建一些示例測試作業。 當我試圖從一些 windows 機器上訪問它時,我無法連接並返回 404 錯誤代碼。
嘗試從 Windows 機器連接 Jenkins。
http://<ip address>:7071 -> this is failing to connect.
http://<ip address>:50000 -> This returning the Jenkins Agent Protocol details
Output:
Jenkins-Agent-Protocols:JNLP-connect、JNLP2-connect、JNLP4-connect、Ping Jenkins-版本:2.60.3 Jenkins-Session:cba34bd8 客戶端:XXXXXXXX 服務器:YYYYYYYY
Can someone help me since I'm new to docker + jenkins world and want to know how to connect the dockerized jenkins that is hosted in the Linux box.
提前致謝。
Jenkins 用於通過 web 控制台訪問的主要端口是 8080,因此添加:
docker run ... -p 8080:8080
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.