2016-03-24 15 views

答えて

0

この種のネイティブオプションはありません。

One click access to Console output あなたはまだワンクリックで迷惑な余分なステップ、私は思いますし、次のオプションであると思われる場合:ちょうど現在実行中のビルドに左グレー/ブルーポイントをクリック - 最近ジェンキンスは、コンソール出力をアクセスするための短い道を許可構築しますジェンキンスCLIを使用していることをお勧めします。それはもう一度一度だけの努力が必要です。

  1. がHTTPからワークステーション
  2. ダウンロードジェンキンス-cli.jarにインストールされているJavaの有無:// あなたのジェンキンスさんは /jnlpJars/jenkins-cli.jar

をホスト次に、あなたが構築し始めることができます

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 

私の例では、簡単な理由からjenkinsは認証なしでセットアップされています。

関連する問題