Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-34735

Problem to create multibranch pipeline with Mercurial SCM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • pipeline
    • None
    • CentOS 7 Server
      Jenkins 2.2 from standard Docker image
      latest versions of plugins:
      - pipeline plugin 2.1
      - pipeline multibranch plugin 2.3
      - Mercurial plugin 1.54

      When new multibranch pipeline project created from Mercurial SCM, the workspace directory don't created.

      Branch Indexing Log:

      Started
      Acquired master cache lock.
      [94E244684A83F66F7E11E392316816A50ECD3DBB-consolidation] $ /usr/bin/hg pull
      
      pulling from http://ntp-hg.krista.ru/Consolidation/consolidation
      searching for changes
      adding changesets
      adding manifests
      adding file changes
      added 10 changesets with 10 changes to 10 files
      (run 'hg update' to get a working copy)
      Master cache lock released.
      [94E244684A83F66F7E11E392316816A50ECD3DBB-consolidation] $ /usr/bin/hg heads --template "{node} {branch}\n"
      Found branch default
      Scheduling build for branch: default
      Found branch 3.0.*-RELEASE
      Scheduling build for branch: 3.0.*-RELEASE
      Found branch 1.2.*-RELEASE
      Scheduling build for branch: 1.2.*-RELEASE
      Found branch 2.1.*-RELEASE
      Scheduling build for branch: 2.1.*-RELEASE
      Found branch 2.0.*-RELEASE
      Scheduling build for branch: 2.0.*-RELEASE
      Finished: SUCCESS
      

      Jenkins log:

      May 11, 2016 11:08:01 AM INFO hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness queueChangeSet
      Queue of changeset     A jobs/Pipelines/jobs/tst/config.xml
       aborted (scm manipulator not settled !)
      May 11, 2016 11:08:29 AM INFO hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness queueChangeSet
      Queue of changeset     A jobs/Pipelines/jobs/tst/config.xml
       aborted (scm manipulator not settled !)
      May 11, 2016 11:09:13 AM INFO org.jenkinsci.plugins.workflow.job.WorkflowRun finish
      Pipelines/tst/default #1 completed: FAILURE
      May 11, 2016 11:09:20 AM INFO org.jenkinsci.plugins.workflow.job.WorkflowRun finish
      Pipelines/tst/3.0.*-RELEASE #1 completed: FAILURE
      May 11, 2016 11:09:26 AM INFO org.jenkinsci.plugins.workflow.job.WorkflowRun finish
      Pipelines/tst/1.2.*-RELEASE #1 completed: FAILURE
      May 11, 2016 11:09:40 AM INFO org.jenkinsci.plugins.workflow.job.WorkflowRun finish
      Pipelines/tst/2.1.*-RELEASE #1 completed: FAILURE
      May 11, 2016 11:09:48 AM INFO org.jenkinsci.plugins.workflow.job.WorkflowRun finish
      Pipelines/tst/2.0.*-RELEASE #1 completed: FAILURE
      

      In log of each subjob:

      Started by an SCM change
      Acquired master cache lock.
      [94E244684A83F66F7E11E392316816A50ECD3DBB-consolidation] $ /usr/bin/hg pull
      pulling from http://ntp-hg.krista.ru/Consolidation/consolidation
      searching for changes
      no changes found
      Master cache lock released.
      [94E244684A83F66F7E11E392316816A50ECD3DBB-consolidation] $ /usr/bin/hg heads --template "{node} {branch}\n"
      Found branch default
      Found branch 3.0.*-RELEASE
      Found branch 1.2.*-RELEASE
      Found branch 2.1.*-RELEASE
      Found branch 2.0.*-RELEASE
      Waiting for master lock on hgcache/94E244684A83F66F7E11E392316816A50ECD3DBB-consolidation java.util.concurrent.locks.ReentrantLock@55dd836c[Locked by thread Executor #-1 for master : executing Pipelines/tst/3.0.*-RELEASE #1]...
      Acquired master cache lock.
      [94E244684A83F66F7E11E392316816A50ECD3DBB-consolidation] $ /usr/bin/hg pull
      pulling from http://ntp-hg.krista.ru/Consolidation/consolidation
      searching for changes
      no changes found
      Master cache lock released.
      $ /usr/bin/hg version
      $ /usr/bin/hg --config extensions.share= share --noupdate /var/jenkins_home/hgcache/94E244684A83F66F7E11E392316816A50ECD3DBB-consolidation /var/jenkins_home/workspace/Pipelines/tst/default@script
      abort: No such file or directory: '/var/jenkins_home/workspace/Pipelines/tst/default@script'
      ERROR: Failed to clone http://ntp-hg.krista.ru/Consolidation/consolidation
      ERROR: Failed to clone http://ntp-hg.krista.ru/Consolidation/consolidation
      Finished: FAILURE
      

      If I pre-create the directory then project creation completes successfully.

            jglick Jesse Glick
            vektory79 Victor Verbitsky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: