Skip to content

Commit f9b26bf

Browse files
committed
ci: test timeout
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent c510cd1 commit f9b26bf

File tree

2 files changed

+23
-38
lines changed

2 files changed

+23
-38
lines changed

jenkins/public_nightly.Jenkinsfile

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
node {
44

5-
properties([copyArtifactPermission('${JOB_NAME},'+env.BRANCH_NAME)]);
5+
defineKeepPolicy();
66

77
stage('Checkout ORFS') {
88
checkout([
@@ -23,26 +23,25 @@ node {
2323
}
2424
}
2525

26-
2726
stage('Checkout OpenROAD Latest') {
2827
checkout([$class: "GitSCM",
29-
branches: [[name: "*/master"]],
30-
doGenerateSubmoduleConfigurations: false,
31-
extensions: [
28+
branches: [[name: "*/master"]],
29+
doGenerateSubmoduleConfigurations: false,
30+
extensions: [
3231
[
33-
$class: "SubmoduleOption",
34-
disableSubmodules: false,
35-
parentCredentials: true,
36-
recursiveSubmodules: true,
37-
reference: "",
38-
trackingSubmodules: false
32+
$class: "SubmoduleOption",
33+
disableSubmodules: false,
34+
parentCredentials: true,
35+
recursiveSubmodules: true,
36+
reference: "",
37+
trackingSubmodules: false
3938
],
4039
[
41-
$class: "RelativeTargetDirectory",
42-
relativeTargetDir: "tools/OpenROAD"
40+
$class: "RelativeTargetDirectory",
41+
relativeTargetDir: "tools/OpenROAD"
4342
]
44-
]
45-
]);
43+
]
44+
]);
4645
}
4746

4847
def DOCKER_IMAGE;

jenkins/public_tests_all.Jenkinsfile

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,21 @@
1-
@Library('utils@orfs-v2.3.5') _
1+
@Library('utils@orfs-dev') _
22

33
node {
4-
5-
def isDefaultBranch = (env.BRANCH_NAME == 'master')
6-
def daysToKeep = '20';
7-
def numToKeep = (isDefaultBranch ? '-1' : '10');
84

9-
properties([
10-
copyArtifactPermission('${JOB_NAME},'+env.BRANCH_NAME),
11-
12-
buildDiscarder(logRotator(
13-
daysToKeepStr: daysToKeep,
14-
artifactDaysToKeepStr: daysToKeep,
15-
16-
numToKeepStr: numToKeep,
17-
artifactNumToKeepStr: numToKeep
18-
))
19-
]);
5+
defineKeepPolicy();
206

217
stage('Checkout') {
228
if (env.BRANCH_NAME && env.BRANCH_NAME == 'master') {
239
checkout([
24-
$class: 'GitSCM',
25-
branches: [[name: scm.branches[0].name]],
26-
doGenerateSubmoduleConfigurations: false,
27-
extensions: [
10+
$class: 'GitSCM',
11+
branches: [[name: scm.branches[0].name]],
12+
doGenerateSubmoduleConfigurations: false,
13+
extensions: [
2814
[$class: 'CloneOption', noTags: false],
2915
[$class: 'SubmoduleOption', recursiveSubmodules: true]
30-
],
31-
submoduleCfg: [],
32-
userRemoteConfigs: scm.userRemoteConfigs
16+
],
17+
submoduleCfg: [],
18+
userRemoteConfigs: scm.userRemoteConfigs
3319
]);
3420
}
3521
else {

0 commit comments

Comments
 (0)