You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jjavieralonso (via GitHub)" <gi...@apache.org> on 2025/01/22 02:37:44 UTC
[I] Add skip_on_exit_code to SSHOperator [airflow]
jjavieralonso opened a new issue, #45886:
URL: https://github.com/apache/airflow/issues/45886
### Description
This feature adds a new parameter skip_on_exit_code to the SSHOperator class. This parameter allows the task to be skipped if the SSH command exits with a specified exit code.
### Use case/motivation
The addition of the skip_on_exit_code parameter makes SSHOperator more flexible by allowing specific exit codes to signify a skipped state, similar to other operators like BashOperator and PythonVirtualenvOperator. This is useful for workflows where certain exit codes should not be treated as failures but as indicators to skip the task.
### Related issues
_No response_
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add skip_on_exit_code to SSHOperator [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #45886: Add skip_on_exit_code to SSHOperator
URL: https://github.com/apache/airflow/issues/45886
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Add skip_on_exit_code to SSHOperator [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #45886:
URL: https://github.com/apache/airflow/issues/45886#issuecomment-2606512720
This looks like AI-generated. useless issue report that brings no value and makes no sense. We are generally blocking users that sends a lot of spam AI reports generated by bots.. as of yesterday so we will report your account and block it unless:
a) you explain how you generated reports
b) prove you are human
c) explain why you created the issue
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org