[JIRA] (JENKINS-58650) Support proxy for App Center uploads

19 views
Skip to first unread message

b5189271@urhen.com (JIRA)

unread,
Jul 24, 2019, 4:28:02 PM7/24/19
to jenkinsc...@googlegroups.com
Jenk O' Lino created an issue
 
Jenkins / Improvement JENKINS-58650
Support proxy for App Center uploads
Issue Type: Improvement Improvement
Assignee: Mez Pahlan
Components: appcenter-plugin
Created: 2019-07-24 20:27
Priority: Major Major
Reporter: Jenk O' Lino

At the moment the tests are rather simple and do not protect against mandatory constructor parameters not being able to be added via the UI. We also do not have any pipeline tests.

Acceptance criteria:

1. An example pipeline tests to build upon.
2. An example freestyle configuration tests.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

b5189271@urhen.com (JIRA)

unread,
Jul 24, 2019, 4:29:01 PM7/24/19
to jenkinsc...@googlegroups.com
Jenk O' Lino updated an issue
Change By: Jenk O' Lino
At the moment the tests are rather simple and do The current configuration of OkHttp client in appcenter-plugin does not protect against mandatory constructor parameters take Jenkins proxy configuration into account, not being able does it allow to be added via the UI specify proxy settings manually . We also do not have any pipeline tests.

Acceptance criteria:

1. An example pipeline tests
For every call to build upon App Center's API, Jenkins proxy settings should be used .
2. An example freestyle configuration tests.

b5189271@urhen.com (JIRA)

unread,
Jul 24, 2019, 4:36:01 PM7/24/19
to jenkinsc...@googlegroups.com
Jenk O' Lino commented on Improvement JENKINS-58650
 
Re: Support proxy for App Center uploads

I started looking into how other plugins solved this with OkHttp. I think this is a good starting point: https://github.com/jenkinsci/octoperf-plugin/commit/59ec669bc48ffffda482d8efe2df667f7ded7ac2

mez.pahlan@gmail.com (JIRA)

unread,
Jul 24, 2019, 4:46:02 PM7/24/19
to jenkinsc...@googlegroups.com

Hi Jenk O' Lino thanks for raising this. Definitely something to look into. To be honest I don't know the best way to go about this at the moment. We could take the view that proxy network configuration is out of scope of this plugin. It can be configured on the JVM for instance. However we could also take the view that we should make an effort to detect and use any proxy set in the Jenkins plugin configuration section.

I am torn on that at the moment. I'll ask a question to the dev mailing list later and see what the consensus is. But in the mean time your link is a good starting point to explore.

Thanks.

b5189271@urhen.com (JIRA)

unread,
Jul 24, 2019, 5:26:02 PM7/24/19
to jenkinsc...@googlegroups.com

At least what I understood, JVM proxy settings are ignored for OkHttp requests. PR available at https://github.com/jenkinsci/appcenter-plugin/pull/13

mez.pahlan@gmail.com (JIRA)

unread,
Aug 1, 2019, 5:10:02 PM8/1/19
to jenkinsc...@googlegroups.com
Change By: Mez Pahlan
Status: In Review Resolved
Resolution: Fixed

mez.pahlan@gmail.com (JIRA)

unread,
Aug 1, 2019, 5:10:02 PM8/1/19
to jenkinsc...@googlegroups.com
Mez Pahlan started work on Improvement JENKINS-58650
 
Change By: Mez Pahlan
Status: Open In Progress

mez.pahlan@gmail.com (JIRA)

unread,
Aug 1, 2019, 5:10:03 PM8/1/19
to jenkinsc...@googlegroups.com

mez.pahlan@gmail.com (JIRA)

unread,
Aug 1, 2019, 5:11:02 PM8/1/19
to jenkinsc...@googlegroups.com
Change By: Mez Pahlan
Status: Resolved Fixed but Unreleased

mez.pahlan@gmail.com (JIRA)

unread,
Aug 10, 2019, 11:40:02 AM8/10/19
to jenkinsc...@googlegroups.com
Change By: Mez Pahlan
Status: Fixed but Unreleased Resolved
Released As: 0

mez.pahlan@gmail.com (JIRA)

unread,
Aug 10, 2019, 11:41:02 AM8/10/19
to jenkinsc...@googlegroups.com
Mez Pahlan updated an issue
Change By: Mez Pahlan
Released As: 0 .3.0
Reply all
Reply to author
Forward
0 new messages