[
https://issues.apache.org/jira/browse/AIRFLOW-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16774270#comment-16774270
]
ASF subversion and git services commented on AIRFLOW-3639:
----------------------------------------------------------
Commit e603bf73ad9f63e1533811576cf1fbc9014f780a in airflow's branch
refs/heads/v1-10-test from Maria R
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=e603bf7 ]
[AIRFLOW-3639] Fix request creation in Jenkins Operator (#4450)
Change Jenkins Operator to work with native Jenkins library method to configure
REST request headers correctly
> Jenkins Operator does not set up "Authorization" header correctly
> -----------------------------------------------------------------
>
> Key: AIRFLOW-3639
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3639
> Project: Apache Airflow
> Issue Type: Bug
> Components: contrib, operators
> Affects Versions: 1.10.1
> Reporter: Maria Rebelka
> Assignee: Maria Rebelka
> Priority: Major
> Fix For: 1.10.3
>
>
> When working with Jenkins with security enabled, auth header is missing and
> Jenkins rejects the request.
> In Jenkins operator, function jenkins_request_with_headers creates request
> manually, and authentication mechanism against Jenkins server never
> initialised, resulting jenkins_server.auth being 'None'.
> {code:python}
> if jenkins_server.auth:
> req.add_header('Authorization', jenkins_server.auth)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)