Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[doctor] enable joid jobs
[releng.git]
/
jjb
/
global
/
releng-macros.yml
diff --git
a/jjb/global/releng-macros.yml
b/jjb/global/releng-macros.yml
index
404c3dd
..
7e11d92
100644
(file)
--- a/
jjb/global/releng-macros.yml
+++ b/
jjb/global/releng-macros.yml
@@
-26,14
+26,23
@@
name: GS_BASE_PROXY
default: build.opnfv.org/artifacts.opnfv.org/$PROJECT
description: "URL to Google Storage proxy"
name: GS_BASE_PROXY
default: build.opnfv.org/artifacts.opnfv.org/$PROJECT
description: "URL to Google Storage proxy"
-
-- parameter:
- name: gerrit-parameter
- parameters:
+ - string:
+ name: BRANCH
+ default: '{branch}'
+ description: "JJB configured BRANCH parameter (e.g. master, stable/danube)"
- string:
name: GERRIT_BRANCH
default: '{branch}'
- string:
name: GERRIT_BRANCH
default: '{branch}'
- description: "JJB configured GERRIT_BRANCH parameter"
+ description: "JJB configured GERRIT_BRANCH parameter (deprecated)"
+
+- property:
+ name: logrotate-default
+ properties:
+ - build-discarder:
+ days-to-keep: 60
+ num-to-keep: 200
+ artifact-days-to-keep: 60
+ artifact-num-to-keep: 200
- scm:
name: git-scm
- scm:
name: git-scm
@@
-42,7
+51,7
@@
credentials-id: '$SSH_CREDENTIAL_ID'
url: '$GIT_BASE'
branches:
credentials-id: '$SSH_CREDENTIAL_ID'
url: '$GIT_BASE'
branches:
- - 'origin/$
GERRIT_
BRANCH'
+ - 'origin/$BRANCH'
timeout: 15
- scm:
timeout: 15
- scm:
@@
-58,6
+67,11
@@
triggers:
- timed: ''
triggers:
- timed: ''
+- trigger:
+ name: 'weekly-trigger-disabled'
+ triggers:
+ - timed: ''
+
# NOTE: unused macro, but we may use this for some jobs.
- trigger:
name: gerrit-trigger-patch-submitted
# NOTE: unused macro, but we may use this for some jobs.
- trigger:
name: gerrit-trigger-patch-submitted
@@
-118,7
+132,6
@@
failed: true
unstable: true
notbuilt: true
failed: true
unstable: true
notbuilt: true
- silent-start: true
- wrapper:
name: ssh-agent-wrapper
- wrapper:
name: ssh-agent-wrapper
@@
-410,6
+423,12
@@
sed -r -i '4,$s/^/ /g' lint.log
fi
sed -r -i '4,$s/^/ /g' lint.log
fi
+- builder:
+ name: clean-workspace-log
+ builders:
+ - shell: |
+ find $WORKSPACE -type f -print -name '*.log' | xargs rm -f
+
- publisher:
name: archive-artifacts
publishers:
- publisher:
name: archive-artifacts
publishers: