jenkins-plugins

Why the ClearCase UCM plugin in Jenkins is unable to find any baseline?

a 夏天 提交于 2019-12-05 22:41:10
I'm trying to set up Jenkins (v1.47) to build a project using the ClearCase UCM (v1.1.2) plugin . With the following config (names changed to protect the innocent): Stream: project_dev_build@\company_pvob<br/> Component: project_tools@\company_pvob<br/> Promotion level: INITIAL I get the following output: [CCUCM] * Stream: project_dev_build@\company_pvob [CCUCM] * Component: project_tools@\company_pvob [CCUCM] * Promotion level: INITIAL [CCUCM] Removed 45 of 45 Baselines. [CCUCM] No valid baselines found I can see in my ClearCase client that there are exactly 45 baselines, all in the INITIAL

change jenkins workspace and attach file with email using jenkins email-ext plugin

北战南征 提交于 2019-12-05 22:13:59
I am new to jenkins and i want to add my test report with the email attachment. I am using Email-ext plugin to send email. Email is sent successfully but the attached file is not sent. My test report generates in eclipse porject workspace inside and path is E:\eclipse_environment\workspace\smautomation_jenkin\assets\chromeTestReport\ how i can attache my test file with email using this plug-in? I am using mac and my solution works for mac.But i think the concept will be same for all os. Actually, jenkin attach file from its workspace automatically. For this no expression is not required. For

Attachment using Editable Email Extension in Jenkins

有些话、适合烂在心里 提交于 2019-12-05 20:20:49
问题 I am using Editable Email plugin in Jenkins to attach a file with the email. The problem is that the plugin is unable to find the file to attach. My file structure is like this - ReportDirectory workspace ReportDirectory contains the report which I want to attach. I believe that the base directory for the plugin is the workspace. So I am giving the attachment location as ../ReportDirectory/DemoReport.html. I have also tried ReportDirectory/DemoReport.html and many more options. Am I doing

Jenkins hangs at git fetch

坚强是说给别人听的谎言 提交于 2019-12-05 18:20:06
问题 I'm a newbie with Jenkins and Im trying to get it to run some unit tests in my.NET project. When I run a build it hangs when trying to fetch from the git repository. ERROR: Timeout after 10 minutes C:\Program Files\Git\cmd\git.exe config --local --remove-section credential # timeout=10 ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from https://github.com/name.of.repo I've generated the known hosts and copied the .ssh dir to C:\Windows\SysWOW64

Jenkins Build error java.lang.ClassNotFoundException: hudson.remoting.Launcher

▼魔方 西西 提交于 2019-12-05 18:17:42
问题 I am trying to integrate jenkins with svn. I have configured maven_home, java_home (java 1.5 update 22). I am using jenkins version 1.459 . One of my colleague successfully configured jenkins with the svn.But as now we are using a different branch, I wanted to add a new job so that it checkout from the new branch and continuous integrate the project. Jenkins is running in a remote linux machine and I use vpn to connect to the server and set up the things.What am I missing. Modules changed,

Jenkins and TestNG results encoding

≡放荡痞女 提交于 2019-12-05 16:46:09
I am use Jenkins to build my Maven project and post testng results using plugin. Have a problem with cyrillic symbols in report. It's look like: ��������. But cyrillic output in Jenkins console is OK. My pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <modelVersion>4.0.0</modelVersion> <groupId>ru.ibs</groupId> <artifactId>msprjtest<

Jenkins and updating git submodules

半城伤御伤魂 提交于 2019-12-05 15:06:33
I am using Jenkins "Advanced sub-modules behaviour" and checked the "Recursively update sub modules" option. However I get the submodule only in an old revision. I would like to always have the head revision of the submodule. I found another option in "Advanced sub-modules behaviour" called "Update tracking submodules to tip of branch". This seems to use the --remote option. Will this solve the Problem? Any Ideas? Based on the documentation page for submodule, it seems that that should work. You need to have git 1.8.2 or newer though. 来源: https://stackoverflow.com/questions/36471981/jenkins

Docker Plugin for Jenkins error: Scripts not permitted to use method

别等时光非礼了梦想. 提交于 2019-12-05 14:42:34
I'm trying to publish to Docker from my Jenkins Pipeline but most things I try result in an error. My latest try was this: docker.withDockerRegistry('https://docker-registry.myco.com/lsacco/swagger-rest', 'docker-credential') { def image = docker.image(APPLICATION_NAME); image.tag("latest"); image.push() } When I run this, Jenkins outputs this error: org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method groovy.lang.GroovyObject invokeMethod java.lang.String java.lang.Object (org.jenkinsci.plugins.docker.workflow.Docker withDockerRegistry java

Jenkins Groovy Postbuild use static file instead of script

喜你入骨 提交于 2019-12-05 14:25:16
Is it possible to load an external groovy script into the groovy post build plugin instead of pasting the script content into each job? We have approximately 200 jobs so updating them all is rather time consuming. I know that I could write a script to update the config files directly (as in this post: Add Jenkins Groovy Postbuild step to all jobs ), but these jobs run 24x7 so finding a window when I can restart Jenkins or reload the config is problematic. Thanks! Update : This is what really solved it for me: https://issues.jenkins-ci.org/browse/JENKINS-21480 "I am able to do just that by

Jenkins MultiJob - Send Results e-mail with data from inner Jobs

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 13:35:59
I have a MultiJob Project with 3 inner jobs which needs to be executed in the following sequence Master MultiJob Project (Job) |----- Phase 1 |------> JOB A |----- Phase 2 |------> JOB B |----- Phase 2 |------> JOB C When Job C ends, the Master MultiJob Project (Job) will send a mail (Using the Email-ext plugin ) with status about the results from all the inner Jobs (A, B and C) (As a Post Build Step) I need to find a way to get a the results from each of these inner Jobs (as Parameter or any other way...) I tried to do it by: Setting Enviroment Variable and then trying to read it - Failed -