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
In order to force the build number, go to the user’s home directory "jenkins" -> "jobs" -> "Project_name" -> "Branch_name" and open the file "nextBuildNumber". And indicate in it the number of the next assembly. After that, it is necessary for Jenkins to re-read the data from the disk, for this we go to the … Continue reading "Jenkins – Forcibly set the build number"
Using Jenkins and Fastlane, we will build applications on iOS and Android, send artifacts to Slack, and also automatically send an iOS application to Testflight. The build is configured from the develop and release branches, and reads the release version (major and minor) from them, and adds the build number. For example: the branch is … Continue reading "Jenkins – Fastlane build iOS and Android apps"