-
Notifications
You must be signed in to change notification settings - Fork 132
/
Jenkinsfile
79 lines (74 loc) · 2.31 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!groovy
def BN = (BRANCH_NAME == 'master' || BRANCH_NAME.startsWith('releases/')) ? BRANCH_NAME : 'releases/2025-07'
library "knime-pipeline@$BN"
properties([
pipelineTriggers([upstream(
'knime-shared/' + env.BRANCH_NAME.replaceAll('/', '%2F') +
', knime-core-table/' + env.BRANCH_NAME.replaceAll('/', '%2F')
)]),
parameters(workflowTests.getConfigurationsAsParameters()),
buildDiscarder(logRotator(numToKeepStr: '5')),
disableConcurrentBuilds()
])
try {
parallel (
'Tycho Build': {
knimetools.defaultTychoBuild('org.knime.update.core')
},
'Integrated Workflowtests': {
workflowTests.runIntegratedWorkflowTests(profile: 'test')
},
)
workflowTests.runTests(
dependencies: [
repositories: [
'knime-aws',
'knime-buildworkflows',
'knime-chemistry',
'knime-cef',
'knime-cloud',
'knime-cluster',
'knime-conda',
'knime-core',
'knime-core-columnar',
'knime-database',
'knime-datageneration',
'knime-distance',
'knime-ensembles',
'knime-filehandling',
'knime-gateway',
'knime-jep',
'knime-js-base',
'knime-json',
'knime-kerberos',
'knime-productivity-oss',
'knime-python-legacy',
'knime-python',
'knime-r',
'knime-reporting',
'knime-reporting2',
'knime-rest',
'knime-streaming',
'knime-textprocessing',
'knime-virtual',
'knime-workbench',
'knime-xml',
'knime-credentials-base'
],
ius: [
'com.knime.enterprise.client.filehandling',
'org.knime.chem.types'
]
]
)
stage('Sonarqube analysis') {
env.lastStage = env.STAGE_NAME
workflowTests.runSonar()
}
} catch (ex) {
currentBuild.result = 'FAILURE'
throw ex
} finally {
notifications.notifyBuild(currentBuild.result);
}
/* vim: set shiftwidth=4 expandtab smarttab: */