-
Bug
-
Resolution: Fixed
-
Major
-
None
When I'm using Multiple SCM plugin in Matrix job, configurations build are failing because of wrong revision in hg update.
Top level build:
[common] $ hg pull --rev default /mnt/imports/data2/users/jenkins/hgcache/730F3D6CF2984FE6965438CDBB2F241CA1B4F220-common [common] $ hg update --clean --rev default 0 files updated, 0 files merged, 0 files removed, 0 files unresolved [common] $ hg log --rev . --template {node} [common] $ hg log --rev . --template {rev} [common] $ hg log --rev 76175d754787279d7888132d364e2847c576134c ... [project_engine] $ hg pull --rev default /mnt/imports/data2/users/jenkins/hgcache/892EE33C3F9037402D2325A82FC02A50F873F87F-project_engine [project_engine] $ hg update --clean --rev default 0 files updated, 0 files merged, 0 files removed, 0 files unresolved [project_engine] $ hg log --rev . --template {node} [project_engine] $ hg log --rev . --template {rev} [project_engine] $ hg log --rev 53dbe704b92059332f0af3ebe2d50f56aac7f4d9
As you can see revisions for common & project_engine are different. The same build for each configuration gives an error because of the same revision for both projects:
[common] $ hg update --rev 76175d754787279d7888132d364e2847c576134c
739 files updated, 0 files merged, 0 files removed, 0 files unresolved
...
[project_engine] $ hg update --rev 76175d754787279d7888132d364e2847c576134c
abort: unknown revision '76175d754787279d7888132d364e2847c576134c'!
I'm using hg sharing and caching and Template project for SCM - but they both work fine for non-matrix projects.
- is duplicated by
-
JENKINS-21266 Unable to clone repository if Multi SCMs and Multi Configuration Project
- Resolved