If you click on the “Scan Multibranch Pipeline Now” link in the Jenkins dashboard to discover the new branches, by default, this will automatically trigger builds for all newly discovered branches. In this short note i am showing how to disable automatic job triggering during SCM scanning for the new branches.
Apache Maven is a command-line tool for building and managing dependencies of Java-based applications. Maven requires Java and before installing Maven in Windows it needs to ensure that Java Development Kit (JDK) is installed and JAVA_HOME environment variable is set. As only this requirement is satisfied, you can download and install Maven. In this note […]
The cat command in Linux is used to concatenate files and print on the standard output. The type command is a Windows cat equivalent that works across a command-line prompt (CMD) and a Windows PowerShell. In this short note i will show how to concatenate files and how to print the contents of a text […]
If you try to delete a file or a folder locked by some process (open in another program) in Windows you may get an error as follows: The action can’t be completed because the file is open in another program The action can’t be completed because the folder or a file in it is open […]
The most convenient way to create and modify environment variables in Windows is to use the default environment variables editor. Unfortunately it is not easy to find where to launch this tool from that is quite annoying if you have to edit environment variables in Windows often. In this article i will show how to […]
In this short note i am showing how to define and print variables is Windows PowerShell. Particularity i will show how to set a variable to a string value, how to define a variable directly in a string and how to unset variable by setting it to Null. At the end of the each example […]
The watch command in Linux is used to execute a command periodically and show the output. This is extremely useful if you need to track any changes in the output of a repeatedly executed command. There is no direct equivalent for the watch command in Windows, however the same result can be achieved using the […]
In Windows you can make a checksum of a file without installing any additional software. For this you can use the certUtil – built-in command-line utility that works both in Windows CMD and Powershell. In this note i will show the examples of how to make md5sum and sha256sum of a file in Windows from […]
If you are trying to install some Python package using the pip install command and pip fails to verify the SSL certificate, you may receive the error as follows: Could not fetch URL https://pypi.org/…/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=’pypi.org’, port=443): Max retries exceeded with url: /…/ (Caused by SSLError(SSLCertVerificationError(1, ‘[ SSL: […]
JFrog’s Artifactory is a binary repository manager. The artifacts to Artifactory can be uploaded (deployed) using REST API. In this note i am showing how to upload an artifact (simple file.zip) to generic Artifactory repository using curl command from the command line in Linux or from the PowerShell in Windows.