我正在尝试使用以下命令启动jenkins:
Option Explicit
Public Sub MakeSelections()
Dim IE As New InternetExplorer
With IE
.Visible = True
.navigate "http://www.handelsregisterbekanntmachungen.de/?aktion=suche#Ergebnis"
While .Busy Or .readyState < 4: DoEvents: Wend
Dim list As Object
With .document
Set list = .querySelectorAll("[name=vt] option")
list.item(1).Selected = True '<==select first from list
.querySelector("[name=vt] option[value='2']").Selected = True '<Select second direct
End With
Stop '<== Delete me later
.Quit
End With
End Sub
但是当我尝试检查它的运行位置时:
ubuntu@ip-172-31-19-47:/etc/init.d$ sudo /etc/init.d/jenkins start
* Starting Jenkins Continuous Integration Server jenkins
我什么也没得到
如何启动詹金斯?
答案 0 :(得分:2)
在Ubuntu(16.04和18.04)上启动Jenkins的推荐方法是使用:
sudo systemctl start jenkins
要验证服务是否正在运行,可以使用
sudo systemctl status jenkins