Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

TeamConcert Jenkins Pipeline Plugin improperly removes generated files on checkout

 Historically have used the teamconcert jenkins plugin using tradition build jobs.  In this format, the plugin properly updates the workspace with any changes but leaves any non-tracked files. This is critical so there is no need to build the entire system again (hours).


MIgrating to the new pipeline syntax and now after checkout is complete, all untracked files are removed.  Even though the files are defined in the .jazzignore files. 

Expected behavior is the plugins should work the exact same in both methods.

Pipeline example is:

   stage('Checkout') {
         steps {
            teamconcert buildType: [value:"buildDefinition",
                        buildDefinition:"${buildDefinition}"]
         }
      }

Also tried setting the clearLoadDirectory but that is applied prior to the checkout. e.g. if that is true, the workspace is deleted first.  The default appears to be false.

Need a way to ensure temporary, untracked files are not removed during checkout as our builds take a long time. 

0 votes



One answer

Permanent link

 okay, sheepish response.  Found the culprit was actually myself. I have an improper command following the checkout that was removing the generated files. 

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020

Question asked: Nov 06 '19, 11:47 a.m.

Question was seen: 1,015 times

Last updated: Nov 06 '19, 5:35 p.m.

Confirmation Cancel Confirm