Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hg, svn, p4 version info to support output #6802

merged 1 commit into from Aug 22, 2019


Copy link

commented Aug 22, 2019

Related PR: #6798


Add hg, svn and perforce version info to support output to help while debugging material related issues. If the scm is not present on the host, it is ignored.

Sample output:

"SCM Version Information": {
    "Git Version": "git version 2.20.1 (Apple Git-117)",
    "Hg Version": "Mercurial Distributed SCM (version 5.0.1)\n(see for more information)\n\nCopyright (C) 2005-2019 Matt Mackall and others\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.",
    "Svn Version": "svn, version 1.10.3 (r1842928)\n   compiled Apr  5 2019, 18:59:58 on x86_64-apple-darwin17.0.0\n\nCopyright (C) 2018 The Apache Software Foundation.\nThis software consists of contributions made by many people;\nsee the NOTICE file for more information.\nSubversion is open source software, see\n\nThe following repository access (RA) modules are available:\n\n* ra_svn : Module for accessing a repository using the svn network protocol.\n  - with Cyrus SASL authentication\n  - handles \u0027svn\u0027 scheme\n* ra_local : Module for accessing a repository on local disk.\n  - handles \u0027file\u0027 scheme\n* ra_serf : Module for accessing a repository via WebDAV protocol using serf.\n  - using serf 1.3.9 (compiled with 1.3.9)\n  - handles \u0027http\u0027 scheme\n  - handles \u0027https\u0027 scheme\n\nThe following authentication credential caches are available:\n\n* Plaintext cache in /Users/varsha/.subversion\n* GPG-Agent\n* Mac OS X Keychain\n",
    "P4 Version": "Perforce - The Fast Software Configuration Management System.\nCopyright 1995-2019 Perforce Software.  All rights reserved.\nThis product includes software developed by the OpenSSL Project\nfor use in the OpenSSL Toolkit (\nVersion of OpenSSL Libraries: OpenSSL 1.1.1a  20 Nov 2018\nSee \u0027p4 help [ -l ] legal\u0027 for additional license information on\nthese licenses and others.\nExtensions/scripting support built-in.\nParallel sync threading built-in.\nRev. P4/MACOSX1010X86_64/2019.1/1813586 (2019/06/06)."

@varshavaradarajan varshavaradarajan requested a review from ketan Aug 22, 2019

@ketan ketan added this to the Release 19.8.0 milestone Aug 22, 2019

@ketan ketan merged commit 506fc00 into gocd:master Aug 22, 2019

3 checks passed

Mergeable Result: success
WIP Ready for review
license/cla Contributor License Agreement is signed.

@ketan ketan deleted the varshavaradarajan:support-api-scm branch Aug 22, 2019

@maheshp maheshp added this to Done in 19.8.0 Aug 23, 2019

@rajiesh rajiesh moved this from Done to QA Done in 19.8.0 Sep 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.