From b602576486882f36ffb394cfd261b64c908af780 Mon Sep 17 00:00:00 2001 From: "sebastien.heurtematte" Date: Mon, 1 Jul 2024 13:30:52 +0200 Subject: [PATCH] test: add sleep Signed-off-by: sebastien.heurtematte --- Jenkinsfile | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) 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' } } }