2016-03-24 8 views

cevap

0

Böyle bir yerel seçenek yok sanırım. Son Jenkins konsol çıktısını erişmek için daha kısa bir yol izin inşa - sadece o anda çalışan yapı soldan gri/mavi noktaya tıklayın:

One click access to Console output hala bir tık ben istiyorum can sıkıcı ekstra adım, bir sonraki seçenek olduğunu düşünüyorsanız önermek jenkins CLI kullanıyor. Yine de bir kerelik daha fazla çaba gerektirir.

  1. java http iş istasyonunda
  2. İndir Jenkins-cli.jar yüklemiş: // sizin Jenkins başlatabilir Sonra /jnlpJars/jenkins-cli.jar

kurar barındırmak Bunun gibi:

java -jar jenkins-cli.jar -s http://jenkins-url build buildname -w -s -v -p parameterN=valueN 



java -jar jenkins-cli.jar -noKeyAuth -s http://jet:8080 build tst-so -w -s -v -p host2ping=google.com 
Started tst-so #17 
Started from command line by anonymous 
Building in workspace /var/lib/jenkins/jobs/tst-so/workspace 
[workspace] $ /bin/sh -xe /tmp/hudson5079113569382475588.sh 
+ echo Hello from tst-so job 
Hello from tst-so job 
+ ping -c 6 google.com 
PING google.com (216.58.209.206) 56(84) bytes of data. 
64 bytes from bud02s22-in-f14.1e100.net (216.58.209.206): icmp_seq=1 ttl=54 time=51.6 ms 
64 bytes from bud02s22-in-f14.1e100.net (216.58.209.206): icmp_seq=2 ttl=54 time=51.9 ms 
64 bytes from bud02s22-in-f14.1e100.net (216.58.209.206): icmp_seq=3 ttl=54 time=51.8 ms 
64 bytes from bud02s22-in-f14.1e100.net (216.58.209.206): icmp_seq=4 ttl=54 time=51.8 ms 
64 bytes from bud02s22-in-f14.1e100.net (216.58.209.206): icmp_seq=5 ttl=54 time=51.8 ms 
64 bytes from bud02s22-in-f14.1e100.net (216.58.209.206): icmp_seq=6 ttl=54 time=51.7 ms 

--- google.com ping statistics --- 
6 packets transmitted, 6 received, 0% packet loss, time 5009ms 
rtt min/avg/max/mdev = 51.684/51.815/51.900/0.306 ms 
Finished: SUCCESS 
Completed tst-so #17 : SUCCESS 

Örneğimde jenkins, basitlik nedeni için kimlik doğrulaması olmadan kurulur.

İlgili konular