diff options
Diffstat (limited to 'jjb/pharos')
-rw-r--r-- | jjb/pharos/pharos.yml | 66 |
1 files changed, 11 insertions, 55 deletions
diff --git a/jjb/pharos/pharos.yml b/jjb/pharos/pharos.yml index 742e536bf..cee73a422 100644 --- a/jjb/pharos/pharos.yml +++ b/jjb/pharos/pharos.yml @@ -5,7 +5,6 @@ - 'pharos-daily-{stream}' - 'pharos-merge' - 'pharos-verify' - - 'pharos-build-docs' # stream: branch with - in place of / (eg. stable-helium) # branch: branch (eg. stable/helium) @@ -70,10 +69,12 @@ - test-macro builders: + - shell: + !include-raw build-docu.sh - shell: | - pwd - find . - echo "Hello world from pharos {somevar} daily" + gsutil cp docs/*.pdf gs://artifacts.opnfv.org/pharos/docs/ + gsutil cp docs/*.html gs://artifacts.opnfv.org/pharos/docs/ + postbuilders: - test-macro @@ -124,10 +125,8 @@ branch-pattern: '**/master' builders: - - shell: | - pwd - find . - echo "verify logic goes here" + - shell: + !include-raw build-docu.sh - job-template: name: 'pharos-merge' @@ -174,54 +173,11 @@ branch-pattern: '**/master' builders: - - shell: | - pwd - find . - echo "merge logic goes here" - -- job-template: - name: 'pharos-build-docs' - - project-type: freestyle - - logrotate: - daysToKeep: 30 - numToKeep: 40 - artifactDaysToKeep: -1 - artifactNumToKeep: 5 - - parameters: - - project-parameter: - project: '{project}' - - gerrit-parameter: - branch: 'master' - - scm: - - gerrit-trigger-scm: - credentials-id: '{ssh-credentials}' - refspec: '' - choosing-strategy: 'default' - - wrappers: - - ssh-agent-credentials: - user: '{ssh-credentials}' - - triggers: - - gerrit: - trigger-on: - - change-merged-event - - comment-added-contains-event: - comment-contains-value: 'remerge' - projects: - - project-compare-type: 'ANT' - project-pattern: 'pharos' - branches: - - branch-compare-type: 'ANT' - branch-pattern: '**/master' - - builders: - - shell: + - shell: !include-raw build-docu.sh + - shell: | + gsutil cp docs/*.pdf gs://artifacts.opnfv.org/pharos/docs/ + gsutil cp docs/*.html gs://artifacts.opnfv.org/pharos/docs/ |