Problems with build definition when used with Jenkins workflow/pipeline
Hi
There are already several build definitions with corresponding Jenkins (free-style) jobs working without problems. In future we think about using a workflow/pipeline in Jenkins. Therefore I tried to implement a first test pipeline. This was not successful due to the following problem... I created a new pipeline in Jenkins and a build definition in RTC (using the existing/working build engine). When saving the build definition in eclipse a error message is displayed (It seems that the built definition is saved nevertheless): This Error is only shown when the pipeline job is selected in the build defeinition. Wehen a "free-style" jenkins job is selected no error occurs.Error parameterizing Jenkins Job -- Error updating Hudson/Jenkins Job: Unable to read configuration of job When trying to start a build with the pipeline job from the eclipse client the execution fails and produces the following log . When the pipeline is started in Jenkins the pipeline job is finishing without problems.Error starting Hudson/Jenkins build for job "Pipeline_Test": com.ibm.team.repository.common.TeamRepositoryException: Error parameterizing the Hudson/Jenkins Job Any ideas how to solve this error? Sadly pictures I inserted are not shown :( |
Accepted answer
Sounds like a permission problem from the Jenkins side. It is trying to read the Jenkins XML file to determine information on the job as well as attempting to make the job a parameterized one. Since it has problem reading/writing that data to Jenkins I would guess that the jobs are protected from the RTC user attempting to read the Jenkins server.
~Spencer Christian Ditscher selected this answer as the correct answer
Comments Yeah.. the first answer solved the Problem.
sam detweiler
commented Mar 18 '16, 9:00 a.m.
Sad that you didn't get the right error message..
|
One other answer
Can you create a jazz.net work item and attach the server logs? Please include the version details for RTC server, Jenkins, Pipeline plugin and Team Concert Jenkins plugin.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
What is the version of RTC server, Jenkins and Pipeline plugin?