Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. pipeline {
  2. agent any
  3.  
  4. triggers {
  5. pollSCM '*/10 * * * *'
  6. }
  7.  
  8. stages {
  9. stage('Build image') {
  10. steps {
  11. echo "===== Build jenkins_ots_job image ====="
  12. dir('ots_manpower_usr'){
  13. checkout scm: [$class: 'MercurialSCM', source: 'ssh://<redact>///hg/path/to/repo',
  14. clean: true, credentialsId: 'abcdefghie'], poll: false
  15. }
  16. script{
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement