-
Bug
-
Resolution: Fixed
-
Major
-
None
After Mercurial Plugin 1.38 drop Forest support, I had to update my OpenJDK 7 build jobs to use multi-scm plugin.
I created one SCM entry for main and forest subdirs
- http://hg.openjdk.java.net/jdk7u/jdk7u-osx
- http://hg.openjdk.java.net/jdk7u/jdk7u-osx/jdk
- http://hg.openjdk.java.net/jdk7u/jdk7u-osx/jaxp
- http://hg.openjdk.java.net/jdk7u/jdk7u-osx/jaxws
Each SCM use its own subdir, ie jdk, jaxp, jaxws, to respect OpenJDK build needs.
There is a problem with hg log (used for changes detection and collect)
Started by user anonymous Building on master $ hg clone --rev default --noupdate http://hg.openjdk.java.net/jdk7u/jdk7u-osx /Volumes/Snow/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u-osx/workspace adding changesets adding manifests adding file changes added 393 changesets with 382 changes to 33 files [workspace] $ hg update --rev default 32 files updated, 0 files merged, 0 files removed, 0 files unresolved [workspace] $ hg log --rev . --template {node} [workspace] $ hg log --rev 25457f672756f16fed69a172c602fd9aca087413 [workspace] $ hg log --template "<changeset node='{node}' author='{author|xmlescape}' rev='{rev}' date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" --rev default:0 --follow --prune 25457f672756f16fed69a172c602fd9aca087413 $ hg clone --rev default --noupdate http://hg.openjdk.java.net/jdk7u/jdk7u-osx/jdk /Volumes/Snow/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u-osx/workspace/jdk adding changesets adding manifests adding file changes added 4550 changesets with 58341 changes to 21221 files [jdk] $ hg update --rev default 20095 files updated, 0 files merged, 0 files removed, 0 files unresolved [jdk] $ hg log --rev . --template {node} [jdk] $ hg log --rev 25457f672756f16fed69a172c602fd9aca087413 ERROR: Previous built revision 25457f672756f16fed69a172c602fd9aca087413 is not know in this clone; unable to determine change log $ hg clone --rev default --noupdate http://hg.openjdk.java.net/jdk7u/jdk7u-osx/corba /Volumes/Snow/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u-osx/workspace/corba adding changesets adding manifests adding file changes added 331 changesets with 3242 changes to 1379 files [corba] $ hg update --rev default 1358 files updated, 0 files merged, 0 files removed, 0 files unresolved [corba] $ hg log --rev . --template {node} [corba] $ hg log --rev 25457f672756f16fed69a172c602fd9aca087413 ERROR: Previous built revision 25457f672756f16fed69a172c602fd9aca087413 is not know in this clone; unable to determine change log $ hg clone --rev default --noupdate http://hg.openjdk.java.net/jdk7u/jdk7u-osx/hotspot /Volumes/Snow/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u-osx/workspace/hotspot adding changesets adding manifests adding file changes added 2928 changesets with 22482 changes to 4374 files [hotspot] $ hg update --rev default 4006 files updated, 0 files merged, 0 files removed, 0 files unresolved [hotspot] $ hg log --rev . --template {node} [hotspot] $ hg log --rev 25457f672756f16fed69a172c602fd9aca087413 ERROR: Previous built revision 25457f672756f16fed69a172c602fd9aca087413 is not know in this clone; unable to determine change log $ hg clone --rev default --noupdate http://hg.openjdk.java.net/jdk7u/jdk7u-osx/jaxp /Volumes/Snow/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u-osx/workspace/jaxp adding changesets adding manifests adding file changes added 284 changesets with 2254 changes to 1984 files [jaxp] $ hg update --rev default 19 files updated, 0 files merged, 0 files removed, 0 files unresolved [jaxp] $ hg log --rev . --template {node} [jaxp] $ hg log --rev 25457f672756f16fed69a172c602fd9aca087413 ERROR: Previous built revision 25457f672756f16fed69a172c602fd9aca087413 is not know in this clone; unable to determine change log $ hg clone --rev default --noupdate http://hg.openjdk.java.net/jdk7u/jdk7u-osx/jaxws /Volumes/Snow/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u-osx/workspace/jaxws adding changesets adding manifests adding file changes added 274 changesets with 6488 changes to 3002 files [jaxws] $ hg update --rev default 19 files updated, 0 files merged, 0 files removed, 0 files unresolved [jaxws] $ hg log --rev . --template {node} [jaxws] $ hg log --rev 25457f672756f16fed69a172c602fd9aca087413 ERROR: Previous built revision 25457f672756f16fed69a172c602fd9aca087413 is not know in this clone; unable to determine change log [jdk] $ hg showconfig paths.default [jdk] $ hg pull --rev default [jdk] $ hg update --clean --rev default 0 files updated, 0 files merged, 0 files removed, 0 files unresolved [jdk] $ hg --config extensions.purge= clean --all [jdk] $ hg log --rev . --template {node} [jdk] $ hg log --rev 25457f672756f16fed69a172c602fd9aca087413 ERROR: Previous built revision 25457f672756f16fed69a172c602fd9aca087413 is not know in this clone; unable to determine change log $ hg clone --rev default --noupdate http://hg.openjdk.java.net/jdk7u/jdk7u-osx/langtools /Volumes/Snow/Documents/jenkins/data/jobs/openjdk-jdk7u-jdk7u-osx/workspace/langtools adding changesets adding manifests adding file changes added 1119 changesets with 13084 changes to 4744 files [langtools] $ hg update --rev default 4405 files updated, 0 files merged, 0 files removed, 0 files unresolved [langtools] $ hg log --rev . --template {node} [langtools] $ hg log --rev 25457f672756f16fed69a172c602fd9aca087413 ERROR: Previous built revision 25457f672756f16fed69a172c602fd9aca087413 is not know in this clone; unable to determine change log [workspace] $ /bin/sh /Volumes/Snow/Documents/jenkins/tomcat7/temp/hudson6954119360602177632.sh
It seems hg log didn't respect specified subdir and is done on main directory instead of SCM subdirectory
- depends on
-
JENKINS-12298 MultiSCMRevisionState.revisionStates cannot differentiate multiple instances of a single SCM type
- Resolved