Skip to content

Commit 2da3767

Browse files
authored
Update Jenkinsfile (#4443)
1 parent 1bffe49 commit 2da3767

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

jobs/build/gen-assembly/Jenkinsfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ node {
3737
defaultValue: "https://github.com/openshift-eng/ocp-build-data",
3838
trim: true,
3939
),
40+
string(
41+
name: "DATE",
42+
description: "(Optional) Leave empty to use auto-fetched release date. Intended release date. Format: YYYY-Mon-dd (example: 2050-Jan-01)",
43+
trim: true
44+
),
4045
string(
4146
name: "NIGHTLIES",
4247
description: "(Optional for public nightlies) List of nightlies to match with <code>doozer get-nightlies</code> (if empty, find latest). If preparing from private nightlies, provide the amd64 nightly as parameter, to match. The automation will find the corresponding nightlies for other arches.",
@@ -160,6 +165,9 @@ node {
160165
cmd << "--nightly" << nightly.trim()
161166
}
162167
}
168+
if (params.DATE) {
169+
cmd << "--date" << params.DATE
170+
}
163171
if (params.ALLOW_PENDING) {
164172
cmd << "--allow-pending"
165173
}

0 commit comments

Comments
 (0)