xyu opened a new issue #8245: Add Option for BashOperator to Set State to SKIPPED URL: https://github.com/apache/airflow/issues/8245 Allow BashOperator Tasks to Skip instead of Fail With the BashOperator sometimes I want to signal that the task should soft fail / return in a skipped state for itself and downstream tasks without having to hard fail it. I think it would be a good idea to add an option on the operator so that when the exit code matches what is given instead of failing task we raise a skip exception. **Related Issues** I've created #8244 as an example / idea of what I think could be done to implement this feature.
---------------------------------------------------------------- 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] With regards, Apache Git Services
