1. Install Jdk-8u172-windows-x64.exe, install with default settings
Two JRE:
C:\Program FILES\JAVA\JDK1.8.0_172\JRE: Dedicated JRE for running the tools contained in the JDK without registry settings.
C:\Program files\java\jre1.8.0_172: Public JRE, which can be used by other Java applications, is registered to the registry (Hkey_local_machine\software\javasoft) and the browser.
2. Configure Java Environment variables
Java_home:c:\program files\java\jdk1.8.0_172
CLASSPATH:.; %java_home%\lib;%java_home%\lib\tools.jar;
Path:;%java_home%\bin;%java_home%\jre\bin;
3. Run "Javac" on the command line to verify that the Java environment is OK
4. Login https://www.scm-manager.org/download, download scm-server-1.59-app.zip
5. Unzip to D:\scm-server-1.59-app
6. Run as Administrator: D:\scm-server-1.59-app\Scm-server\bin\scm-server.bat
7. Open http://localhost:8080/scm/in the browser, initial user name password scmadmin/scmadmin
8. Create a new directory D:\scm-server-1.59-app\git, as a git repository
9. Login http://localhost:8080/scm/, new XXX user, and set as Administrator, use XXX login
10. Enter Config| Repository Types, set "Git Settings", "Repository Directory" set to "D:\scm-server-1.59-app\git"
11. Enter main| Repositories, click Add, create a new MyProject git repository
12. Open git extensions,clone repository,http://xxx:[email protected]:8080/scm/git/MyProject, Clone to E:\ Open after Workdir,clone
Finish the call!
Win7 git service-side build