title: Deployment job on gitlab
body: <p>I'm trying to make job for deployment on gitlab. I'm writing yaml file for it.</p>
  
  <pre><code>image: maven:3-jdk-8
  testjob:
    script:
      - "apt-get update"
      - "apt-get install sshpass -y"
      - "echo installed"
      - "sshpass -p 'pass' ssh user@host"
      - "echo login successful"
      - "touch testfile.txt"
      - "echo finished"
  </code></pre>
  
  <p>But when I'm trying to login with sshpass and i'm getting en error</p>
  
  <blockquote>
    <p>Pseudo-terminal will not be allocated because stdin is not a terminal </p>
  </blockquote>
  
  <p>What the problem?</p>