-
Bug
-
Resolution: Fixed
-
Major
-
None
1. What I did
I've upgraded Jenkins from 2.35 to 2.36 including all plugins.
Publish Over Dropbox was updated from 1.0.5 to 1.1.2.
After this update the Send build artifacts to Dropbox failed.
The build output is:
Dropbox:Connecting from host [DELF] Dropbox:Connecting with configuration [App releases] ... Dropbox:Caught exception [Failed to change to remote directory [/App/Releases/]] Sleeping for [1,000]ms before trying again Dropbox:Connecting with configuration [App releases] ... Dropbox:Caught exception [Failed to change to remote directory [/App/Releases/]] Sleeping for [1,000]ms before trying again Dropbox:Connecting with configuration [App releases] ... Dropbox:Caught exception [Failed to change to remote directory [/App/Releases/]] Sleeping for [1,000]ms before trying again Dropbox:Connecting with configuration [App releases] ... Dropbox:Caught exception [Failed to change to remote directory [/App/Releases/]] Sleeping for [1,000]ms before trying again Dropbox:Connecting with configuration [App releases] ... Dropbox:Caught exception [Failed to change to remote directory [/App/Releases/]] Sleeping for [1,000]ms before trying again Dropbox:Connecting with configuration [App releases] ... Dropbox:Caught exception [Failed to change to remote directory [/App/Releases/]] Sleeping for [1,000]ms before trying again Dropbox:Connecting with configuration [App releases] ... Dropbox:Caught exception [Failed to change to remote directory [/App/Releases/]] Sleeping for [1,000]ms before trying again Dropbox:Connecting with configuration [App releases] ... Dropbox:Caught exception [Failed to change to remote directory [/App/Releases/]] Sleeping for [1,000]ms before trying again Dropbox:Connecting with configuration [App releases] ... Dropbox:Caught exception [Failed to change to remote directory [/App/Releases/]] Sleeping for [1,000]ms before trying again Dropbox:Connecting with configuration [App releases] ... ERROR: Exception when publishing, exception message [Failed to change to remote directory [/App/Releases/]] Build step 'Send build artifacts over Dropbox' changed build result to UNSTABLE
2. What I tried
I've tested the connection using Manage Jenkins -> Configure System -> Dropbox locations -> Test connection button. The output was the same (Failed to change to remote directory).
I've generated another API token. Still nothing changed and the build fails.
3. How I made it work
Downgrading only the 'Publish Over Dropbox' plugin to 1.0.5 made the upload work again. The 'Publish Over Dropbox' is the only item in the Plugin Manager -> Updates list.