diff --git a/Jenkinsfile b/Jenkinsfile index 83d1654a..a14796bc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -120,7 +120,9 @@ try { node('docker') { stage('Prepare Versioning Container') { prepareWorkspace() - container = pullBuildPush(image_name: 'jenkins/rlp-sdk', dockerfile: "docker/jenkins/Dockerfile.versioning", image_tag: "rlp-sdk-versioning", build_args: jenkins_user_build_args()) + retry(1) { + container = pullBuildPush(image_name: 'jenkins/rlp-sdk', dockerfile: "docker/jenkins/Dockerfile.versioning", image_tag: "rlp-sdk-versioning", build_args: jenkins_user_build_args()) + } container.inside() { stage('Bump Version') { def rlpSdkVersion = sh ( @@ -183,7 +185,9 @@ try { node ('docker') { stage('Prepare Packaging Container') { prepareWorkspace() - container = pullBuildPush(image_name: 'jenkins/rlp-sdk', dockerfile: "docker/jenkins/Dockerfile.packaging", image_tag: "rlp-sdk-packaging", build_args: jenkins_user_build_args()) + retry(1) { + container = pullBuildPush(image_name: 'jenkins/rlp-sdk', dockerfile: "docker/jenkins/Dockerfile.packaging", image_tag: "rlp-sdk-packaging", build_args: jenkins_user_build_args()) + } container.inside() { stage('Generate Documentation') { retry(1) { diff --git a/dependencies/install-bookdown.sh b/dependencies/install-bookdown.sh index 77353e40..119dd5ac 100755 --- a/dependencies/install-bookdown.sh +++ b/dependencies/install-bookdown.sh @@ -49,7 +49,7 @@ if [[ $INSTALL_R -eq 1 ]]; then sudo yum install -y R else sudo apt-get -y install apt-transport-https software-properties-common - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 + sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 sudo add-apt-repository -y 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/' sudo apt update sudo apt-get -y install r-base wget