jenkins-plugins

How to use job import plugin in jenkins

元气小坏坏 提交于 2020-02-27 08:24:29
问题 I don't have access to both servers so cli is not an option only jenkins ui is available. I need to import jobs using job import plugin but i am unable to figure how to configure the plugin so as to import jobs. Could anyone please help me with this. 回答1: To configure the Jenkins Remote Plugin, you need to add a Jenkins Server to import your jobs. Setting a Jenkins Server To add a Jenkins Server you need to go on your Jenkins configuration: Manage Jenkins > Configure System > Job Import

How to use job import plugin in jenkins

偶尔善良 提交于 2020-02-27 08:24:08
问题 I don't have access to both servers so cli is not an option only jenkins ui is available. I need to import jobs using job import plugin but i am unable to figure how to configure the plugin so as to import jobs. Could anyone please help me with this. 回答1: To configure the Jenkins Remote Plugin, you need to add a Jenkins Server to import your jobs. Setting a Jenkins Server To add a Jenkins Server you need to go on your Jenkins configuration: Manage Jenkins > Configure System > Job Import

How to extend Jenkins job page with new links and icons

a 夏天 提交于 2020-02-26 14:50:08
问题 I'm developing my first Jenkins plugin and followed the tutorial at wiki.jenkins-ci.org. After adding a BuildStep and generating the results I now want to publish them to the user. I would like to do this via a new link entry on the job page and a corrsponding result view page. Unfortunatelly I do not find the right extension points for the navigation bar at the left side, the main navigation links in the center as well as the new target page. Can somebody point me in the right direction or

How to generate an .hpi plugin from an existing project for jenkins

南笙酒味 提交于 2020-02-22 07:53:07
问题 I'm trying to use the performance plugin for jenkins, but the latest version has some issues as described in the link: https://issues.jenkins-ci.org/browse/JENKINS-27100 One of the comments is: "I think this issue have fixed in the trunk, check out and build locally seem to fix the issue. I'm using version Jenkins ver. 1.596.2" I'm trying to do the same, download the project and build it locally. This is the part that I don't know how to do. I have downloaded eclipse (mars), but I don't even

How to generate an .hpi plugin from an existing project for jenkins

落花浮王杯 提交于 2020-02-22 07:49:05
问题 I'm trying to use the performance plugin for jenkins, but the latest version has some issues as described in the link: https://issues.jenkins-ci.org/browse/JENKINS-27100 One of the comments is: "I think this issue have fixed in the trunk, check out and build locally seem to fix the issue. I'm using version Jenkins ver. 1.596.2" I'm trying to do the same, download the project and build it locally. This is the part that I don't know how to do. I have downloaded eclipse (mars), but I don't even

How to add String parameter to Jenkins with optional checkbox

扶醉桌前 提交于 2020-02-21 10:11:19
问题 I'm trying to add a String parameter to my jenkins build, but i can't find an option to make it optional, on the Jenkins WIKI i found a screeshot and there was an option to make it optional: https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build . 回答1: All parameters are "optional". Unless it's a Validating String Parameter, Jenkins doesn't care what value you've entered or if you've entered anything at all. The only thing that cares about the parameters is your job implementation, i

How to decrypt Jenkins 8mha values

冷暖自知 提交于 2020-02-20 08:57:11
问题 If we look at the Jenkins job logs, we can see that the text contained there, is exactly the same as what is displayed in the browser when you look into the Console Output EXCEPT for the URL that in the log files is encoded with something with the tag [8mha: Does anyone know how can we "decrypt" it? Already tried a simple base64 but it doesn't work. This is one of those strings [8mha:AAAAqR+LCAAAAAAAAP9b85aBtbiIQSajNKU4P08vOT+vOD8nVc

How do I know which stage of jenkins pipeline has failed

淺唱寂寞╮ 提交于 2020-02-18 08:10:30
问题 In my Jenkins pipelines I generally use post declarative function to send me an email incase the pipeline has failed. A simple syntax of the post function is as under: post { failure { mail to: 'team@example.com', subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", body: "Something is wrong with ${env.BUILD_URL}" } } In the above email, I also want to mention which stage (lets say the pipeline has 5 to 6 stages) of the pipeline has failed. How can I do that? Any help is much

How do I know which stage of jenkins pipeline has failed

核能气质少年 提交于 2020-02-18 08:08:18
问题 In my Jenkins pipelines I generally use post declarative function to send me an email incase the pipeline has failed. A simple syntax of the post function is as under: post { failure { mail to: 'team@example.com', subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", body: "Something is wrong with ${env.BUILD_URL}" } } In the above email, I also want to mention which stage (lets say the pipeline has 5 to 6 stages) of the pipeline has failed. How can I do that? Any help is much

How to fix broken images and icons in jenkins UI

随声附和 提交于 2020-02-05 02:03:13
问题 I am having trouble with the jenkins ui these days with all the images and icons (build icons and those in the manage jenkins page) broken. I have googled and haven't found anything clear. Also, the jenkins became much slower. I read that clearing the TEMP folder might cause this issue. and yes after restarting the jenkins service on the instance it has become much worse and all icons were broken. How can I fix it? Screenshots attached Can someone help me with this. location of jenkins.war :