diff --git a/Jenkinsfile b/Jenkinsfile index b9a2efe..718c88d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,24 +18,24 @@ pipeline { sh 'mvn clean verify -Prelease -B' } } - stage('Deploy') { - steps { - sshagent(['projects-storage.eclipse.org-bot-ssh']) { - sh """ - echo "Deploying..." - #check if dir already exists - if ssh ${LOGIN} test -d ${SITE_DIR}; then - ssh ${LOGIN} rm -rf ${SITE_DIR} - fi - ssh ${login} mkdir -p ${SITE_DIR} - scp -r org.eclipse.cbi.tycho.example.updatesite/target/repository ${LOGIN}:${SITE_DIR} - """ - } - } - } + // stage('Deploy') { + // steps { + // sshagent(['projects-storage.eclipse.org-bot-ssh']) { + // sh """ + // echo "Deploying..." + // #check if dir already exists + // if ssh ${LOGIN} test -d ${SITE_DIR}; then + // ssh ${LOGIN} rm -rf ${SITE_DIR} + // fi + // ssh ${login} mkdir -p ${SITE_DIR} + // scp -r org.eclipse.cbi.tycho.example.updatesite/target/repository ${LOGIN}:${SITE_DIR} + // """ + // } + // } + // } stage('ossrh') { steps { - sh 'mvn deploy -Possrh -B' + sh 'mvn -X deploy -Possrh -B' } } }