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"
При заливке в 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:
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.
In the repository where the future groovy files will be stored, create a directory called "utilities" and create the file "GithubPipeline.groovy" in it with the following contents: Now, to create an Item, it is enough to create a file with the groovy extension in the root of the repository, so that it can be processed …
Continue reading "Jenkins – DSL Pipeline creating by Seed Job"
Sample Pipeline configuration file for a DSL module. This is a parameterized build. Jenkinsfile is located at the root of the repository.
In the repository where the future groovy files will be stored, create a directory called "utilities" and create the file "BitbucketMultibranch.groovy" in it with the following contents: Now, to create an Item, it is enough to create a file with the groovy extension in the root of the repository, so that it can be processed …
Continue reading "Jenkins – DSL Multibranch Pipeline Creating by Seed Job"
Example Multibranch Pipeline configuration file for a DSL module, with a custom Bitbucket server. Which will include branches: "develop", "staging" and "master". Will store the last 15 builds. And look for Jenkins file along the path: ".jenkins/Jenkinsfile" Repository name: artem-dsl Owner (project name): dev Loans of Jenkins access to Bitbucket: svn-bibucket