How to skip a job based on variable existence?

I have set a variable and want to skip the job if that variable is passed a value.

So, I set my job below rule.

But it is getting skipped even no value passed to this variable.


  rules:
    - if: $ADMIN_SERVER_IP != ""
      when: never