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.
An example of creating a common directory for two containers in one pod.
An example of CloudFormation for transfer to the inside of EC2 instance "ACCESS_KEY" and "SECRET_KEY" directly from the IAM to access the S3 Bucket using AWS-Cli.
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
List of basic command to get started with Virsh Connect to libvirtd Validation of xml file VM name – vm_01 Running a virtual machine: Reboot the virtual machine: Virtual machine editing: Information about the network interface of the virtual machine:
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"