[ https://issues.apache.org/jira/browse/AIRFLOW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fokko Driesprong resolved AIRFLOW-1470. --------------------------------------- Resolution: Fixed Fix Version/s: (was: 1.9.0) 2.0.0 Issue resolved by pull request #2489 [https://github.com/apache/incubator-airflow/pull/2489] > BashSensor Implementation > ------------------------- > > Key: AIRFLOW-1470 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1470 > Project: Apache Airflow > Issue Type: Wish > Reporter: Diogo Franco > Assignee: Diogo Franco > Priority: Minor > Fix For: 2.0.0 > > > I propose the addition of a BashSensor operator to the core package where the > poke method looks at the return code of a bash command. > The implementation would be similar to the execute method of the > BashOperator, except returning True/False based on the command's return code > being 0 or not. > This allows the user to easily add custom sensing logic into a DAG. It also > aids new users in quickly being able to test sensors in airflow without the > need to setup any connections. -- This message was sent by Atlassian JIRA (v6.4.14#64029)