Using Jenkins to upload templates to the File Manager


#1

Hi there, we seem to be having an issue with our Jenkins job that uploads templates from our GitHub to the templates section of the file manager in our portal.

It keeps on failing and then going back to being alright for a while. Here is where the job is failing. Maybe its something wrong with the template?

---- Closing data socket <— 226 Transfer complete. —> MFMT 20161005194804 /portals/379003-onshape/content/templates/custom/page/Materialize/m-webinar-register.html <— 450 Could not perform action on file /portals/379003-onshape/content/templates/custom/page/Materialize/m-webinar-register.html. —> QUIT ---- Closing control socket Build step ‘Execute shell’ marked build as failure

This is another error.

<— 551 /portals/379003-onshape/content/templates/custom/page/Materialize/m-features.html: Error on output file.
mput: Access failed: 551 /portals/379003-onshape/content/templates/custom/page/Materialize/m-features.html: Error on output file.

It seems to be constantly failing and then going back to normal ( I have like 30 emails from the past two days of fails / back to normals)

More errors

<— 551 /portals/379003-onshape/content/templates/custom/page/Materialize/m-privacy-policy.html: Error on output file. ---- Closing data socket mput: Access failed: 551 /portals/379003-onshape/content/templates/custom/page/Materialize/m-privacy-policy.html: Error on output file. —>


#2

Figured this out!

Turns out our jenkins job was running before the last one finished causing issues.


#3

Hi @mirshko,

Glad you got it figured out. Apologies for the delay in addressing your post!