From patchwork Fri Jul 20 11:57:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell Currey X-Patchwork-Id: 946846 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41X8Xn6Qybz9s7c for ; Fri, 20 Jul 2018 21:58:17 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Reo2Z8+y"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41X8Xn3sFkzDqD3 for ; Fri, 20 Jul 2018 21:58:17 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Reo2Z8+y"; dkim-atps=neutral X-Original-To: snowpatch@lists.ozlabs.org Delivered-To: snowpatch@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=russell.cc (client-ip=64.147.123.21; helo=wout5-smtp.messagingengine.com; envelope-from=ruscur@russell.cc; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=russell.cc Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Reo2Z8+y"; dkim-atps=neutral Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41X8XZ08qfzDqCG for ; Fri, 20 Jul 2018 21:58:05 +1000 (AEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 31F243AE; Fri, 20 Jul 2018 07:58:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 20 Jul 2018 07:58:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=guU5U/eapjw0KLilsaLzlTC2Z3k/Ett085TTg5wdsAQ=; b=Reo2Z8+y VNOOZ98diagSDwEKho5oiLU87sixy8t9ydgjrfw7bx0X8lHS6qaQc1XKfM918Be4 zn/8ZE1F56PmUdN/sPcLH7gYNsX5OacJaNpThbLtHRhLnpn12lCCJKKPRREg4EAG FRawbqysobGpBtqbqjxlH45knAquKUIlpluwolGmhI+FSCRZm6n85LC3Z7MJpPjt 6sdljPvjvGqwaiEAnptZ6f3+PrMsVCeZHX03FVUFactwZQ+Ua4OQaVQ9fV9s/21t WwrCo9I0TnOFfNwpfpYbTCejI49JBdToQcJYieMHVdm2k0gUxpDM2ezlJMCXWsbM 6W6RGwsaQHbBFg== X-ME-Proxy: X-ME-Sender: Received: from snap.ozlabs.ibm.com (unknown [122.99.82.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 2D6CD1025C; Fri, 20 Jul 2018 07:57:59 -0400 (EDT) From: Russell Currey To: snowpatch@lists.ozlabs.org, andrew.donnellan@au1.ibm.com Date: Fri, 20 Jul 2018 21:57:25 +1000 Message-Id: <20180720115728.19312-5-ruscur@russell.cc> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180720115728.19312-1-ruscur@russell.cc> References: <20180720115728.19312-1-ruscur@russell.cc> Subject: [snowpatch] [PATCH 5/8] Don't link to job console output, link to job instead X-BeenThere: snowpatch@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Continuous Integration for patch-based workflows List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Russell Currey MIME-Version: 1.0 Errors-To: snowpatch-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "snowpatch" This is useful for projects with multiple artifacts, the console text isn't always the best choice and it's only a click away. Signed-off-by: Russell Currey Reviewed-by: Andrew Donnellan --- src/jenkins.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jenkins.rs b/src/jenkins.rs index 987fae9..b751f59 100644 --- a/src/jenkins.rs +++ b/src/jenkins.rs @@ -184,7 +184,7 @@ impl JenkinsBackend { pub fn get_results_url(&self, build_url: &str, job: &BTreeMap) -> String { match job.get("artifact") { Some(artifact) => format!("{}/artifact/{}", build_url, artifact), - None => format!("{}/consoleText/", build_url), + None => format!("{}/", build_url), } }