Skip to content

Commit

Permalink
remove website and update site upload from jenkinsfile (#991)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddykasp authored Jan 9, 2024
1 parent c786785 commit 03c0ceb
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions build/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -241,40 +241,6 @@ spec:
}
}
}

stage('Website') {
steps {
container('hugo') {
dir ('elk/docs') {
sh "hugo"
}
}
}
}

stage('Publish') {
steps {
// Zip the update site
dir ('elk/build/org.eclipse.elk.repository/target/repository') {
sh "zip -r elk-${params.VERSION}.zip *"
}

// Zip the website, put the zip file into the update site directory as well
dir ('elk/docs/public') {
sh "zip -r ../../build/org.eclipse.elk.repository/target/repository/elk-${params.VERSION}-docs.zip *"
}

// Deploy the previously built artifacts
container('jnlp') {
// Deploy update site folder
sshagent(['projects-storage.eclipse.org-bot-ssh']) {
sh "ssh genie.elk@projects-storage.eclipse.org rm -rfv ${params.ELK_TARGET_DIR}"
sh "ssh genie.elk@projects-storage.eclipse.org mkdir -pv ${params.ELK_TARGET_DIR}"
sh "scp -vr elk/build/org.eclipse.elk.repository/target/repository/* genie.elk@projects-storage.eclipse.org:${params.ELK_TARGET_DIR}"
}
}
}
}
}

post {
Expand Down

0 comments on commit 03c0ceb

Please sign in to comment.