FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
docker-python/tensorflow-whl/Jenkinsfile at master · lavoiemathieu/docker-python · GitHub
lavoiemathieu
/
docker-python
Public
forked from
Kaggle/docker-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
docker-python
/
tensorflow-whl
/
Jenkinsfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
36 lines (33 loc) · 1.13 KB
Breadcrumbs
docker-python
/
tensorflow-whl
/
Jenkinsfile
Copy path
File metadata and controls
36 lines (33 loc) · 1.13 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
pipeline {
agent { label
'
ephemeral-linux-gpu
'
}
options {
//
The Build GPU stage depends on the image from the Push CPU stage
disableConcurrentBuilds()
}
environment {
GIT_COMMIT_SHORT
=
sh(
returnStdout
:
true
,
script
:
"
git rev-parse --short=7 HEAD
"
)
.
trim()
GIT_COMMIT_SUBJECT
=
sh(
returnStdout
:
true
,
script
:
"
git log --format=%s -n 1 HEAD
"
)
.
trim()
GIT_COMMIT_AUTHOR
=
sh(
returnStdout
:
true
,
script
:
"
git log --format='%an' -n 1 HEAD
"
)
.
trim()
GIT_COMMIT_SUMMARY
=
"
`<https://github.com/Kaggle/docker-python/commit/
${
GIT_COMMIT
}
|
${
GIT_COMMIT_SHORT
}
>`
${
GIT_COMMIT_SUBJECT
}
-
${
GIT_COMMIT_AUTHOR
}
"
}
stages {
stage(
'
Build
'
) {
steps {
sh
'''
#!/bin/bash
set -exo pipefail
cd tensorflow-whl/
./build | ts
'''
}
}
stage(
'
Push
'
) {
steps {
sh
'''
#!/bin/bash
set -exo pipefail
cd tensorflow-whl/
./push ${GIT_BRANCH}-staging
'''
}
}
}
}
Back
|
FazBrowse Home
|
New Git URL