image: moussavdb/yildiz-build-image

pipelines:
  default:
    - step:
        script:
          - openssl aes-256-cbc -pass pass:$OPENSSL_PWD -in private-key.gpg.enc -out private-key.gpg -d
          - gpg --import private-key.gpg
          - mvn -V -B -s settings.xml deploy -Pnoenv
          - mvn -V -B -s settings.xml -Pnative-sonar -Denv=linux64 org.jacoco:jacoco-maven-plugin:prepare-agent deploy
          - mvn -V -B -s settings.xml -Pnative -Denv=win32 deploy
          - curl -sSL https://download.sourceclear.com/ci.sh | bash
image: moussavdb/yildiz-build-image

pipelines:
  default:
    - step:
        script:
          - openssl aes-256-cbc -pass pass:$OPENSSL_PWD -in private-key.gpg.enc -out private-key.gpg -d
          - gpg --import private-key.gpg
          - mvn -V -B -s settings.xml deploy -Pnoenv
          - mvn -V -B -s settings.xml -Pnative-sonar -Denv=linux64 org.jacoco:jacoco-maven-plugin:prepare-agent deploy
          - mvn -V -B -s settings.xml -Pnative -Denv=win32 deploy

Remove sourceclear to pass build.
[YIL-217] Remove sourceclear to pass build.
