The repository for my website https://ellpeck.de/
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.
 
 
 

24 lines
340 B

  1. pipeline {
  2. agent any
  3. stages {
  4. stage('Pull') {
  5. when {
  6. branch 'master'
  7. }
  8. steps {
  9. sh '''cd /var/www/ellpeck
  10. git pull'''
  11. }
  12. }
  13. stage('Node') {
  14. when {
  15. branch 'master'
  16. }
  17. steps {
  18. sh '''cd /var/www/ellpeck/node
  19. node blog.js
  20. node rss.js'''
  21. }
  22. }
  23. }
  24. }