Niels Möller <ni...@lysator.liu.se> writes:

>   rules:
>   - if: $SSH_PRIVATE_KEY != "" && $S390X_ACCOUNT != ""

Shouldn't that be something like this:

rules:
- if: $SSH_PRIVATE_KEY != "" && $S390X_ACCOUNT != ""
  when: never

Note that the following

rules:
- if: $SSH_PRIVATE_KEY != "" && $S390X_ACCOUNT != ""
- when: never

means something completely different.  Each '-' stanza is evaluated on
its own, the first one to lead to a job start wins.  The first 'if' line
is evaluated, and then the default action of when:always applies since
nothing else is present, and the job is run.  So you actually get kind
of the reverse results you wanted.

I'm just guessing, sorry for not catching this earlier.

/Simon

Attachment: signature.asc
Description: PGP signature

_______________________________________________
nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se
To unsubscribe send an email to nettle-bugs-le...@lists.lysator.liu.se

Reply via email to