Relative Content

Tag Archive for javamavenjenkins

Problems copying a Jenkins project

A coworker has a Jenkins project which executes a KDT script (With Java and Maven on a Windows host). I wanted one that does exactly the same thing but executes a different testsheet, so I copied his Jenkins script and changed only the test sheet name. When I ran it I got a maven error that the parent.relativePath of my pom file was wrong. The only difference I saw was the name of the test sheet, so I used the same as his and compared the parts of the log file where mvn was executed (I think due to company confidentiality I cannot show the command exactly, so I put a few XXX on the confidential part.). I got the same error. In his project I put my test sheet and it ran fine.

Problems copying a Jenkins project

A coworker has a Jenkins project which executes a KDT script (With Java and Maven on a Windows host). I wanted one that does exactly the same thing but executes a different testsheet, so I copied his Jenkins script and changed only the test sheet name. When I ran it I got a maven error that the parent.relativePath of my pom file was wrong. The only difference I saw was the name of the test sheet, so I used the same as his and compared the parts of the log file where mvn was executed (I think due to company confidentiality I cannot show the command exactly, so I put a few XXX on the confidential part.). I got the same error. In his project I put my test sheet and it ran fine.