Tag: java

FAIL – Failed to deploy application at context path /ROOT. Deploy plugin of jenkins failling to deploy

Attempting to set up jenkins and its container deploy plugin. However, I am receiving the following stacktrace : ERROR: Publisher hudson.plugins.deploy.DeployPublisher aborted due to exception org.codehaus.cargo.container.ContainerException: Failed to deploy [/myHome/jenkins/jobs/myAPP/workspace/target/ROOT.war] at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.deploy(AbstractTomcatManagerDeployer.java:111) at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatManagerDeployer.redeploy(AbstractTomcatManagerDeployer.java:187) at hudson.plugins.deploy.CargoContainerAdapter.deploy(CargoContainerAdapter.java:60) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:86) at hudson.plugins.deploy.CargoContainerAdapter$1.invoke(CargoContainerAdapter.java:73) at hudson.FilePath.act(FilePath.java:784) at hudson.FilePath.act(FilePath.java:766) at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:73) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:45) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:675) at […]

robot framework selenium standalone Only Java Installed

I need some help setting up a Robot Framework with Selenium – both standalone. My configuration is Jenkins + RobotFramework + Selenium all in Standalone Mode. I Want to preconfigure a Job using a test set that is shipped with my self made bundle. In the end I want to make jenkins Job that comes […]

How does Jenkins discover the config.jelly for a post-build plugin?

I’m creating a post-build plugin for some customized reports in my company. I started with the Jenkins “hello world” example provided here: https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial This worked great. I was able to load the plugin and use it in my Jenkins instance without any problem. To get things going for my project, I was able to move […]

Maven with Jenkins – Update parent pom version of dependency

I have a pom file that looks similar to this <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/maven-v4_0_0.xsd”> <modelVersion>4.0.0</modelVersion> <groupId>myApp</groupId> <artifactId>myAppId</artifactId> <packaging>war</packaging> <version>1.2-SNAPSHOT</version> <name>Maven Test Webapp</name> <url>http://maven.apache.org</url> <dependency> <groupId>com.manydesigns</groupId> <artifactId>portofino-war</artifactId> <version>3.1.10</version> <type>war</type> <scope>compile</scope> </dependency> </dependencies> <build> <finalName>TestName</finalName> </build> </project> If i run ‘mvn release:prepare’ on the above pom file, the version of the artifact changes. i.e. it becomes […]

Package contains object and package with same name

I am having problems compiling some Scala with Maven or Eclipse where I try to import a class from a Java jar which contains both a namespace and class of the same name. I can compile with scalac, however. E.g. the Java project (jar) contains: src/foo/bar.java src/foo/bar/some_resource.txt -> foobar.jar Scala project references foobar.jar Foobartest.scala: import […]

Maven fails to parse POMs at jenkins

I have this simple maven project, containing a few common test tools. It builds locally, but on jenkins I am getting this strange error (see below). Other info: It builds locally with maven Settings are the same as all our other jenkins projects (very basic) Other jenkins builds work just fine I tried removing the […]

Ant/Maven: “javadoc: warning – Error fetching URL”

I recently set up my build server (Jenkins) to generate Javadocs for Ant builds. However, no matter what I do, I can’t get it to include links to external libraries. When I attempt to use an online link, Ant returns: [javadoc] javadoc: warning – Error fetching URL: http://docs.oracle.com/javase/6/docs/api/package-list When I use an offline link and […]

How to enable debug logging on jenkins?

I am trying to debug how the ssh-slaves is behaving but the jenkins documentation from https://wiki.jenkins-ci.org/display/JENKINS/Logging is extreamly incomplete. I added a new logger and added: “hudson.” with ALL “org.jenkinsci.plugins.” with ALL Still the new log added is not updated at all. Also, I found no information on how to enable logging for everything, empty, […]

PermGen Space issue in Jenkins

I am building a maven project, since last 1.5 yrs build was working fine but now I am getting the PermGen space error. [ERROR] Internal error: java.lang.RuntimeException: org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded() listener has failed: java.io.IOException: Remote call on channel failed: PermGen space -> [Help 1] [ERROR] org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded() listener has failed: java.lang.OutOfMemoryError: PermGen space I have tried below options […]

How to run maven tests in a specific order?

This question already has an answer here: How do I control the order of execution of tests in Maven? 5 answers

Git Baby is a git and github fan, let's start git clone.