summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2019-07-25 12:53:17 -0500
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>2019-07-25 12:53:17 -0500
commitc2380f444e0b2881034e32c02b0067a59fa48016 (patch)
tree504ff539b20acb14a90076ea99ce7ac335d4c08f
parent440353a301fcc14dd351decb0aa3e3479d1b7937 (diff)
Modify HICN archive artifacts
Modify the HICN artifacts to archive to the logs server rather than Jenkins Also fixed a few lint errors Change-Id: Ie0af996303be8cf14a5a125da6995f7dd18f6f0f Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
-rw-r--r--jjb/hicn/hicn-docs.yaml43
-rw-r--r--jjb/hicn/hicn.yaml82
2 files changed, 74 insertions, 51 deletions
diff --git a/jjb/hicn/hicn-docs.yaml b/jjb/hicn/hicn-docs.yaml
index ea98f6fab..420b97deb 100644
--- a/jjb/hicn/hicn-docs.yaml
+++ b/jjb/hicn/hicn-docs.yaml
@@ -1,3 +1,4 @@
+---
- project:
name: hicn-docs
jobs:
@@ -23,6 +24,11 @@
project-type: freestyle
node: ubuntu1604-us
concurrent: true
+ archive-artifacts: '**/build/lib/doc/html/*'
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
build-discarder:
daysToKeep: '{build-days-to-keep}'
@@ -41,6 +47,10 @@
maven-version: 'mvn33-new'
- stream-parameter:
stream: '{stream}'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
scm:
- gerrit-trigger-scm:
@@ -72,18 +82,12 @@
!include-raw-escape: include-raw-hicn-docs.sh
publishers:
- - archive:
- artifacts: 'build/lib/doc/html/*'
- allow-empty: 'true'
- fingerprint: false
- only-if-success: true
- default-excludes: false
- - fdio-infra-shiplogs:
- maven-version: 'mvn33-new'
- - naginator:
- rerun-unstable-builds: false
- max-failed-builds: 1
- fixed-delay: 90
+ - fdio-infra-shiplogs:
+ maven-version: 'mvn33-new'
+ - naginator:
+ rerun-unstable-builds: false
+ max-failed-builds: 1
+ fixed-delay: 90
- job-template:
name: 'hicn-docs-merge-{stream}'
@@ -91,6 +95,11 @@
project-type: freestyle
node: ubuntu1604-us
concurrent: false
+ archive-artifacts: '**/build/lib/doc/html/*'
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
build-discarder:
daysToKeep: '{build-days-to-keep}'
@@ -109,6 +118,10 @@
maven-version: 'mvn33-new'
- stream-parameter:
stream: '{stream}'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
scm:
- gerrit-trigger-scm:
@@ -156,12 +169,6 @@
!include-raw-escape: include-raw-hicn-docs.sh
publishers:
- - archive:
- artifacts: 'build/lib/doc/html/*'
- allow-empty: 'true'
- fingerprint: false
- only-if-success: true
- default-excludes: false
- fdio-infra-shiplogs:
maven-version: 'mvn33-new'
- naginator:
diff --git a/jjb/hicn/hicn.yaml b/jjb/hicn/hicn.yaml
index 3343e24ec..541a0c571 100644
--- a/jjb/hicn/hicn.yaml
+++ b/jjb/hicn/hicn.yaml
@@ -58,6 +58,7 @@
project-type: freestyle
node: '{os}-us'
concurrent: true
+ archive-artifacts: '**/tmp/hicn-failed-unittests/*/* **/core'
build-discarder:
daysToKeep: '{build-days-to-keep}'
@@ -74,6 +75,10 @@
os: '{os}'
- repo-name-parameter:
repo-name: '{repo-stream-part}.ubuntu.xenial.main'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
scm:
- gerrit-trigger-scm:
@@ -133,7 +138,6 @@
publishers:
- fdio-infra-shiplogs:
maven-version: 'mvn33-new'
- archive-artifacts: '/tmp/hicn-failed-unittests/*/* **/core'
- naginator:
rerun-unstable-builds: true
max-failed-builds: 1
@@ -145,6 +149,13 @@
project-type: freestyle
node: '{os}-us'
concurrent: true
+ archive-artifacts: >
+ **/build/*.rpm,
+ **/build/*.deb
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
build-discarder:
daysToKeep: '{build-days-to-keep}'
@@ -163,6 +174,10 @@
repo-name: '{repo-stream-part}.{repo-os-part}'
- stream-parameter:
stream: '{stream}'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
scm:
- gerrit-trigger-scm:
@@ -185,14 +200,6 @@
- include-raw-hicn-build.sh
publishers:
- - archive:
- artifacts: >
- **/build/*.rpm,
- **/build/*.deb
- allow-empty: 'true'
- fingerprint: false
- only-if-success: true
- default-excludes: false
- fdio-infra-shiplogs:
maven-version: 'mvn33-new'
@@ -201,6 +208,13 @@
project-type: freestyle
node: '{os}-us'
+ archive-artifacts: >
+ **/build/*.rpm,
+ **/build/*.deb
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
build-discarder:
daysToKeep: '{build-days-to-keep}'
@@ -223,6 +237,10 @@
stream: 'release'
- repo-name-parameter:
repo-name: '{repo-stream-part}.{repo-os-part}'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
scm:
- gerrit-trigger-scm:
@@ -273,14 +291,6 @@
- include-raw-hicn-maven-push.sh
publishers:
- - archive:
- artifacts: >
- **/build/*.rpm,
- **/build/*.deb
- allow-empty: 'true'
- fingerprint: false
- only-if-success: true
- default-excludes: false
- fdio-infra-shiplogs:
maven-version: 'mvn33-new'
- naginator:
@@ -305,6 +315,13 @@
project-type: freestyle
node: '{os}-us'
concurrent: true
+ archive-artifacts: >
+ **/build/*.rpm,
+ **/build/*.deb
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
build-discarder:
daysToKeep: '{build-days-to-keep}'
@@ -323,6 +340,10 @@
repo-name: '{repo-stream-part}.ubuntu.bionic.main'
- stream-parameter:
stream: '{stream}'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
scm:
- gerrit-trigger-scm:
@@ -353,14 +374,6 @@
- include-raw-hicn-sysrepo-build.sh
publishers:
- - archive:
- artifacts: >
- **/build/*.rpm,
- **/build/*.deb
- allow-empty: 'true'
- fingerprint: false
- only-if-success: true
- default-excludes: false
- fdio-infra-shiplogs:
maven-version: 'mvn33-new'
@@ -369,6 +382,13 @@
project-type: freestyle
node: '{os}-us'
+ archive-artifacts: >
+ **/build/*.rpm,
+ **/build/*.deb
+ allow-empty: 'true'
+ fingerprint: false
+ only-if-success: true
+ default-excludes: false
build-discarder:
daysToKeep: '{build-days-to-keep}'
@@ -391,6 +411,10 @@
stream: 'release'
- repo-name-parameter:
repo-name: '{repo-stream-part}.ubuntu.bionic.main'
+ - string:
+ name: ARCHIVE_ARTIFACTS
+ default: '{archive-artifacts}'
+ description: Artifacts to archive to the logs server.
scm:
- gerrit-trigger-scm:
@@ -449,14 +473,6 @@
- include-raw-hicn-maven-push.sh
publishers:
- - archive:
- artifacts: >
- **/build/*.rpm,
- **/build/*.deb
- allow-empty: 'true'
- fingerprint: false
- only-if-success: true
- default-excludes: false
- fdio-infra-shiplogs:
maven-version: 'mvn33-new'
- naginator: