Questions tagged [Jenkins] (133)

1
answer

How to add global variables inside global variables in Jenkins?

Actually what we have: There are 3 global variables (Which are set via the Configure system) For example:Val1: "A" Val2: "B" Val3: "%Val1%%Val2%" Somewhere use %Val3%, and I see in the console that there have been %Val1%%Val2%. Actually two questions: 1. This is a bug or a feature? 2. How did I make it?
skylar53 asked March 27th 20 at 12:27
0
answer

Update of plugins in jenkins using nexus?

In General, the situation is such that it is necessary to update plugins through the jenkins nexus Found this article for generating update-center.json https://stackoverflow.com/questions/20128118/how-t... Doing all the steps as mentioned in the article: But the project does not build and oblivaetsya in step -h says "h" is...
delphia_Ort asked March 25th 20 at 12:26
1
answer

Why the AutoTest performs those actions which are not in the code?

Maybe someone already faced with this problem. Debug tests. Automated tests are written in Java. Rather JBEHAVE. The fun starts when you start the AutoTest debug: After reaching a certain point starts the execution of actions which is not even in the file. Where can I look? Is it connected somehow with the command line? Com...
dejon asked March 24th 20 at 14:23
2
answers

The concept of deployment of Jenkins for PHP projects?

I configured Jenkins in a docker on a separate server. Jenkins connects to the server via ssh using the Publish over ssh plugin and just makes the remote server sequentially git pull, composer and build angular and so on.cd /dir && git pull wait cd /dir && php yii migrate --interactive=0 wait cd /dir &&a...
Annamarie asked March 24th 20 at 13:31
1
answer

Jenkins downloads the entire host how to find the problem?

Host: ec2 t2.medium: 2vcpu / 4 ram ubuntu 18.04 openjdk 11.0.3 2019-04-16 Fatty search process:top-n1 -bH-o %CPU-p 2492 | head -n2 2 process which is loaded in the host:PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2495 jenkins 20 0 3866180 1.362 g R 29772 84.2 35.4 9:12.84 GC Thread#0 2510 jenkins 20 0 3866180 1....
elvera.Heathcote51 asked March 24th 20 at 12:50
0
answer

How to raise webhook relay?

Has anyone raised a webhook relay? I want hooks to make the public Internet, to turnip not polite. But your ports are not open. What can anyone recommend?
adell_Bednar asked March 24th 20 at 12:49
1
answer

How to run pipeline at the desired stage?

There is a pipeline c selection stage1/stage2 (Webtarget). Comes to mind only the if construct to select the right serverif ("${params.Webtarget}" == "stage1") Are there any other ways, and it will be too long for pipeline test servers 10 pieces. Thank you
Tyrique71 asked March 24th 20 at 11:12
1
answer

How to specify the duration of the execution of the job?

I have a server emulation load telephony. And Jenkins which people want to run the load. For this I used SSH plugin, with which you are running the scripts on the server load. But since the load necessary to give the different time I would like to know is it possible to specify in the settings of the job setting the duratio...
Ashly_Corkery asked March 23rd 20 at 19:30
0
answer

How to get the author email komita in multibranch pipeline?

Good afternoon, colleagues. there is a challenge in the Assembly to send a letter with the result of the author komita (authors komitov, if we are talking about PR) have configured a job in Jenkins and Jenkinsfile in the repository (scripted-notation). the authors and the text obtained with the following code:def commits = ...
johathan.Shields asked March 21st 20 at 12:47
1
answer

How to change the branch on stage with job?

Task: create a job that will change the branch to stage servers There is a job in which there are 2 parameters of the sample: - gitBranch (select branches) - webTarget (select stage1-5) The form of selection branches and a stage server: How do I pass a parameter / value to branch to stage, to change the branch selected in t...
Peter.Crist asked March 21st 20 at 12:41