Commit 65bcb24c authored by Hiro's avatar Hiro 🏄
Browse files

Add jobs for newsletter manual styleguide

parent 7ba31172
Loading
Loading
Loading
Loading

newsletter.yaml

0 → 100644
+47 −0
Original line number Diff line number Diff line
###############################################################
### website
###############################################################
- job-template:
    name: 'newsletter-{branch}'
    project-type: freestyle
    node: Linux
    properties:
      - priority-sorter:
            priority: 2
    scm:
        - git:
            url: 'https://git.torproject.org/project/web/newsletter.git'
            fastpoll: true
            basedir: newsletter
            branches:
                - '{branch}'
    builders:
        - shell: "SUITE=buster ARCHITECTURE=amd64 /home/jenkins/jenkins-tools/slaves/linux/build-wrapper"
    publishers:
        - archive:
            artifacts: "RESULT/newsletter.tar.gz"
        - trigger:
            project: 'newsletter-{branch}-install'
        - notify-tor-irc
        - post-workspace-cleanup
- job-template:
    name: 'newsletter-{branch}-install'
    project-type: freestyle
    node: master
    scm: []
    builders:
        - shell: 'true'
        - copyartifact:
            project: 'newsletter-{branch}'
            which-build: "last-successful"
            flatten: true
            target: incoming
        - shell: "cat incoming/newsletter.tar.gz | ssh torwww@staticiforme.torproject.org newsletter-{branch}"

- project:
    name: newsletter
    branch:
      - master
    jobs:
      - 'newsletter-{branch}'
      - 'newsletter-{branch}-install'

styleguide.yaml

0 → 100644
+47 −0
Original line number Diff line number Diff line
###############################################################
### website
###############################################################
- job-template:
    name: 'styleguide-{branch}'
    project-type: freestyle
    node: Linux
    properties:
      - priority-sorter:
            priority: 2
    scm:
        - git:
            url: 'https://git.torproject.org/project/web/styleguide.git'
            fastpoll: true
            basedir: styleguide
            branches:
                - '{branch}'
    builders:
        - shell: "SUITE=buster ARCHITECTURE=amd64 /home/jenkins/jenkins-tools/slaves/linux/build-wrapper"
    publishers:
        - archive:
            artifacts: "RESULT/styleguide.tar.gz"
        - trigger:
            project: 'styleguide-{branch}-install'
        - notify-tor-irc
        - post-workspace-cleanup
- job-template:
    name: 'styleguide-{branch}-install'
    project-type: freestyle
    node: master
    scm: []
    builders:
        - shell: 'true'
        - copyartifact:
            project: 'styleguide-{branch}'
            which-build: "last-successful"
            flatten: true
            target: incoming
        - shell: "cat incoming/styleguide.tar.gz | ssh torwww@staticiforme.torproject.org styleguide-{branch}"

- project:
    name: styleguide
    branch:
      - master
    jobs:
      - 'styleguide-{branch}'
      - 'styleguide-{branch}-install'
+47 −0
Original line number Diff line number Diff line
###############################################################
### website
###############################################################
- job-template:
    name: 'manual-{branch}'
    project-type: freestyle
    node: Linux
    properties:
      - priority-sorter:
            priority: 2
    scm:
        - git:
            url: 'https://git.torproject.org/project/web/manual.git'
            fastpoll: true
            basedir: manual
            branches:
                - '{branch}'
    builders:
        - shell: "SUITE=buster ARCHITECTURE=amd64 /home/jenkins/jenkins-tools/slaves/linux/build-wrapper"
    publishers:
        - archive:
            artifacts: "RESULT/manual.tar.gz"
        - trigger:
            project: 'manual-{branch}-install'
        - notify-tor-irc
        - post-workspace-cleanup
- job-template:
    name: 'manual-{branch}-install'
    project-type: freestyle
    node: master
    scm: []
    builders:
        - shell: 'true'
        - copyartifact:
            project: 'manual-{branch}'
            which-build: "last-successful"
            flatten: true
            target: incoming
        - shell: "cat incoming/manual.tar.gz | ssh torwww@staticiforme.torproject.org manual-{branch}"

- project:
    name: manual
    branch:
      - master
    jobs:
      - 'manual-{branch}'
      - 'manual-{branch}-install'