Jenkins

Jenkins – Git repository and self-signed certificate

When we want to connect Jenkins to a SCM server like git or svn with a self-signed certificate (https connexion), the following error can occur: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Actually, it is a Java error due to the fact Jenkins hits the URL before…

Zemanta Related Posts Thumbnail

Windows Server 2003 – Black logon screen

When you want to logon on a server, if some disk problems have happened recently, the logon screen can be displayed with a black window and black fields (although functional): Actually, it’s a problem due to an initialization to 0 of color parameters in the windows registry. Thus, at this location: HKEY_USERS\.DEFAULT\Control Panel\Colors , all…

linux

Linux – Commands

Resources SS64.com – An A-Z Index of the Bash command line for Linux http://ss64.com/bash/   In short Display the system hour $ date Modify the hour # date -s HH:MM:SS Modify the date # date -s MM/JJ/AAAA Display the server bios hour $ hwclock Synchronize the system hour with the bios hour # hwclock –systohc…

ntp

NTP time server

NTPDATE If we want to update the date of our serveur from time to time, we type the following: $ntpdate {a time server} Note: we must stop the process ntpd if it is running, we can do that with: # /etc/init.d/ntp stop or # /etc/init.d/ntpd stop If we must do a scheduled task which executes…

crontab-schedule

Crontab

Structure Crontab’s structure is very easy to understand. # Edit this file to introduce tasks to be run by cron. # # Each task to run has to be defined through a single line # indicating with different fields when the task will be run # and what command to run for the task #…

subversion-logo[1]

SVN – Authentication

SVN configuration with multi-authentications (2 Active Directory domains) Here is an example of a vhost configuration for an SVN. It allows users to be authenticated with 2 different Active Directory domains. #Authentication providers <AuthnProviderAlias ldap firstone> AuthLDAPBindDN “CN=svn-generic,OU=Service Accounts,DC=firstone,DC=com” AuthLDAPBindPassword jtCCkWW6 AuthLDAPURL ldap://dc01.firstone.com:3268/?sAMAccountName?sub? </AuthnProviderAlias> <AuthnProviderAlias ldap secondone> AuthLDAPBindDN “CN=svn-generic,OU=Service Accounts,DC=secondone,DC=com” AuthLDAPBindPassword xh3J1VZX AuthLDAPURL ldap://dc01.secondone.com:3268/?sAMAccountName?sub? </AuthnProviderAlias>…

robocopy

ROBOCOPY.exe

Robust File and Folder Copy By default Robocopy will copy only a file if the source and the destination have a different timestamp or have different sizes. Syntaxe ROBOCOPY source_folder destination_folder [file(s)_to_copy] [options] Key file(s)_to_copy : A list of files or a wildcard. (defaults to copying *.*) Source options /S : Copy Subfolders. /E :…