Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pipeline {
- agent any
- triggers {
- pollSCM '*/10 * * * *'
- }
- stages {
- stage('Build image') {
- steps {
- echo "===== Build jenkins_ots_job image ====="
- dir('ots_manpower_usr'){
- checkout scm: [$class: 'MercurialSCM', source: 'ssh://<redact>///hg/path/to/repo',
- clean: true, credentialsId: 'abcdefghie'], poll: false
- }
- script{
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement