Hackerspace Website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Jenkinsfile 606B

1234567891011121314151617181920
  1. node("hugo && linkchecker") {
  2. stage "Checkout"
  3. checkout scm
  4. sh "git submodule update --init --recursive"
  5. stage "Build"
  6. sh "/opt/hugo"
  7. archiveArtifacts artifacts: 'public/**', excludes: null
  8. stage "Publish"
  9. sshagent(['hacknology-website-deploy']) {
  10. sh 'rsync --recursive --links --verbose --del --rsh "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" public/ xperimental@church.hacknology.de:/srv/http/'
  11. }
  12. stage "Check links"
  13. ws {
  14. sh "linkchecker -Fhtml -q https://www.hacknology.de"
  15. archiveArtifacts artifacts: 'linkchecker-out.*', excludes: null
  16. }
  17. }