Hi all, I know that in IoTDB as well as PLC4X we were having issues of regularly but randomly failing Jenkins builds.
Usually, these problems were because of timeouts when deploying to Nexus. In PLC4X I have now tried something that seems to be doing the job … possibly this could also help us here (I mean … the biggest part of the Jenkins setup is borrowed from PLC4X anyway ;-) ) My solution was to wrap the execution of the deploy step in a loop on bash level: https://github.com/apache/plc4x/blob/develop/Jenkinsfile#L167 sh 'until ./mvnw -f jenkins.pom -X -P deploy-snapshots wagon:upload || (( count++ >= 5 )); do echo "Retrying to deploy"; done' So, it would try up to 5 times, if deployment fails. I think in case of deployment the full build is done and was successful. The only reason for failures in this step usually is problems with Nexus and a stupid retry should help. What do you think? Should we try the same change? Chris