If a variable is used in Jenkins Pipeline that is created on the basis of a Webhook or etc, then a task will fail with a manual start. To avoid this, you can add a check for the existence of a variable and set its value. In this example, the presence of the …
Continue reading "Jenkins – Check for the existence of a variable"
jenkins.conf
Install Java OpenJDK, as it is a dependency for Jenkins. The latest versions of Jenkins are compatible with version 11, so let’s install it. To add the Jenkins repository, you will need the "wget" utility, if it is not installed, then install: Add the repository and import its key: Install Jenkins: …
Continue reading "CentOS 7 – Jenkins install"
An example of a pipeline for working with the plugin for kubernetis. We build the maven project, create a docker image with the received artifact and push it into the docker image storage. Pipeline: Dockerfile – already created in the pipeline itself. envVar – taken from the secret of kubernetes
При заливке в TestFlight Fastlane выдает следующее: [Transporter Error Output]: ERROR ITMS-90717: "Invalid App Store Icon. The App Store Icon in the asset catalog in 'your_app.app' can't be transparent nor contain an alpha channel." Transporter transfer failed. ERROR ITMS-90717: "Invalid App Store Icon. The App Store Icon in the asset catalog in 'your_app.app' can't be …
Continue reading "Fastlane – TestFlight: Invalid App Store Icon"
On the server with Jenkins download JMeter Also need JMeterPluginsCMD Create a directory for storage: Download and unzip the contents of two archives to this directory. So that the structure is as follows:
When I try to execute a command inside the Docker container with Jenkins, the following error appears: Solution: Use instead: following:
An example deployment in Docker Swarm from Jenkins using stack deploy. Jenkinsfile:
Create "Credentials" with type "Secret text". Fill in the ID and add a secret description optional. Add the following to Jenkinsfile: After that, you can use the variable "MY_PASSWORD", without fear that it will be shown in clear text.
The Badge plugin for Fastlane allows you to offer version numbers, release type, etc. On the MacOS collector, install the dependencies: Add a line to the project Gemfile: Add a block related to the badge to Fastfile and add the version number via a variable.