[ 
https://issues.apache.org/jira/browse/AIRFLOW-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16871028#comment-16871028
 ] 

ASF subversion and git services commented on AIRFLOW-4559:
----------------------------------------------------------

Commit 40f2a12ff3538c96a1714ccda33084de100a0d86 in airflow's branch 
refs/heads/v1-10-test from Anton Zayniev
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=40f2a12 ]

[AIRFLOW-4559] JenkinsJobTriggerOperator bugfix (#5318)

Previous version provides url to Request object implicitly. It
creates weird interaction assigning it to 'method' parameter
instead of 'url' which raises
'requests.exceptions.MissingSchema: Invalid URL 'None': No schema
supplied'. Fixed making both explicit.

(cherry picked from commit 663c15aee1bcd0ffc7d233806e477f2205006770)


> JenkinsJobTriggerOperator incorrectly processing url given in Connections
> -------------------------------------------------------------------------
>
>                 Key: AIRFLOW-4559
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4559
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: contrib, operators
>    Affects Versions: 1.10.3
>            Reporter: Anton Zayniev
>            Priority: Minor
>              Labels: easyfix
>             Fix For: 1.10.4
>
>
>  
> Jenkins operator provides incorrect URL obtained from Jenkins connection
> {code:java}
> [2019-05-21 20:53:41,488] {logging_mixin.py:95} INFO - [2019-05-21 
> 20:53:41,488] {jenkins_hook.py:44} INFO - Trying to connect to 
> http://jenkins.example.com:80
> [2019-05-21 20:53:42,670] {models.py:1788} ERROR - Invalid URL 'None': No 
> schema supplied. Perhaps you meant http://None?
> <...>
> requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. 
> Perhaps you meant http://None?{code}
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to