freeStyleJob('d8a-alucard') {
  using 'TEMPLATE-autobuild'
  scm {
    git {
      remote {
        github 'd8a/alucard', 'ssh', 'git-aws.internal.justin.tv'
        credentials 'git-aws-read-key'
      }
      clean true
    }
  }
  steps {
    shell 'manta -v -f build.json'
    saveDeployArtifact 'd8a/alucard', '.manta'
  }
}

freeStyleJob('d8a-alucard-deploy') {
  using 'TEMPLATE-deploy-aws'
  steps {
    shell 'courier deploy --repo d8a/alucard --dir /opt/twitch/alucard'
  }
}
 