lisovskey opened a new issue #14071:
URL: https://github.com/apache/airflow/issues/14071


   **Description**
   
   Don't mark dag as `failed` when `UNSTABLE` status received from Jenkins.
   It can be done by adding `allow_unstable: bool` or `success_status_values: 
list` parameter to `JenkinsJobTriggerOperator.__init__`. For now `SUCCESS` 
status is hardcoded, any other lead to fail.
   
   **Use case / motivation**
   
   I want to restart a job (`retries` parameter) only if I get `FAILED` status. 
`UNSTABLE` is okay for me and it's no need to restart.
   
   **Are you willing to submit a PR?**
   
   Yes
   
   **Related Issues**
   
   No
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to