diff --git a/Jenkinsfile b/Jenkinsfile index 4c6c3d9a19..cde824c896 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -126,30 +126,6 @@ try { } } } - }, - docs: { - stage('Deploy Docs') { - node { - checkout scm - withCredentials([file(credentialsId: 'docs.spring.io-jenkins_private_ssh_key', variable: 'DEPLOY_SSH_KEY')]) { - withEnv(["JAVA_HOME=${ tool 'jdk8' }"]) { - sh "./gradlew deployDocs -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME --refresh-dependencies --no-daemon --stacktrace" - } - } - } - } - }, - schema: { - stage('Deploy Schema') { - node { - checkout scm - withCredentials([file(credentialsId: 'docs.spring.io-jenkins_private_ssh_key', variable: 'DEPLOY_SSH_KEY')]) { - withEnv(["JAVA_HOME=${ tool 'jdk8' }"]) { - sh "./gradlew deploySchema -PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY -PdeployDocsSshUsername=$SPRING_DOCS_USERNAME --refresh-dependencies --no-daemon --stacktrace" - } - } - } - } } } } catch(Exception e) {