@@ -23,7 +23,7 @@ Install methods Intel installer, apt, dnf, docker container, CI cache
23
23
=============== ===========================================
24
24
25
25
The config files are intended to be samples that demonstrate a wide
26
- variety of use cases. For you own use, select the parts that you
26
+ variety of use cases. For your own use, select the parts that you
27
27
need. You may also want to customize the set of compilers and
28
28
libraries that are installed. See `component listings `_ for the
29
29
component names to use in the scripts.
@@ -56,6 +56,7 @@ Circle |c| |c| |c| |c| |c| |x|
56
56
AppVeyor |c | |x | |x | |c | |c | |c |
57
57
GitLab |c | |c | |x | |c | |c | |x |
58
58
Azure |c | |c | |c | |c | |c | |c |
59
+ Jenkins |x | |x | |c | |x | |x | |x |
59
60
======== ========= ========= ============ ===== ======= ===========
60
61
61
62
@@ -66,6 +67,36 @@ Some of the oneAPI components are large and can take a few minutes to
66
67
download install. To accelerate install, we demonstrate the use of
67
68
caching.
68
69
70
+
71
+ Using oneAPI in Jenkins pipelines
72
+ =================================
73
+
74
+ There are multiple ways to add oneAPI tools to a Jenkins pipeline:
75
+
76
+ #. setup the tools on Jenkins agent directly, or create custom
77
+ container with the tools you need
78
+
79
+ * refer to `Intel® oneAPI Toolkits Installation Guides `_ for
80
+ details
81
+ * explore installation scripts in this repo for examples
82
+ #. use optimized containers from `Intel oneContainer Portal `_
83
+
84
+ The Jenkinsfile in this repo demonstrates building DPC++, C++ and
85
+ Fortran samples in intel/oneapi-hpckit container in Jenkins.
86
+
87
+ To give it a try:
88
+
89
+ #. Follow `Jenkins Install Guide `_ to setup Jenkins, or use your
90
+ existing setup.
91
+ #. Install Docker and Docker Pipeline plugins.
92
+ #. Create new pipeline for this repository using
93
+ New Item -> Pipeline.
94
+ #. Build the pipeline.
95
+ #. The result will look like this in Blue Ocean.
96
+
97
+ |Jenkins Pipeline Example |
98
+
99
+
69
100
See also
70
101
========
71
102
@@ -102,6 +133,9 @@ See `security guidelines`_.
102
133
.. _contributing : CONTRIBUTING.rst
103
134
.. _`security guidelines` : https://www.intel.com/content/www/us/en/security-center/default.html
104
135
.. _`Enabling Performance Profiling in GitLab* CI` : https://software.intel.com/content/www/us/en/develop/documentation/vtune-cookbook/top/configuration-recipes/performance-profiling-in-gitlab-ci.html
136
+ .. _`Intel® oneAPI Toolkits Installation Guides` : https://software.intel.com/content/www/us/en/develop/articles/installation-guide-for-intel-oneapi-toolkits.html
137
+ .. _`Jenkins Install Guide` : https://www.jenkins.io/doc/book/installing/
138
+ .. _`Intel oneContainer Portal` : https://software.intel.com/content/www/us/en/develop/tools/containers/get-started.html
105
139
106
140
.. _`.github/workflows/build_all.yml` : .github/workflows/build_all.yml
107
141
.. _`.circleci/config.yml` : .circleci/config.yml
@@ -127,6 +161,8 @@ See `security guidelines`_.
127
161
.. |ListComponentsStatus | image :: https://github.com/oneapi-src/oneapi-ci/workflows/list_components/badge.svg
128
162
:target: https://github.com/oneapi-src/oneapi-ci/actions?query=workflow%3Alist_components
129
163
:alt: Build status
164
+ .. |Jenkins Pipeline Example | image :: img/jenkins_pipeline_example.png
165
+ :alt: Jenkins Pipeline Example
130
166
131
167
.. |r | unicode :: U+000AE
132
168
.. |c | unicode :: U+2714
0 commit comments