Jenkinsfile aktualisiert
This commit is contained in:
parent
a9f0729cbe
commit
4f18dd72a3
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -10,7 +10,7 @@ pipeline {
|
|||||||
- name: "dind"
|
- name: "dind"
|
||||||
command:
|
command:
|
||||||
- "cat"
|
- "cat"
|
||||||
image: "docker:dind"
|
image: "docker:latest"
|
||||||
tty: true
|
tty: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: "/home/jenkins/agent"
|
- mountPath: "/home/jenkins/agent"
|
||||||
@ -26,7 +26,6 @@ pipeline {
|
|||||||
stage('Build Docker image') {
|
stage('Build Docker image') {
|
||||||
steps {
|
steps {
|
||||||
container('dind') {
|
container('dind') {
|
||||||
sh 'cat run.sh'
|
|
||||||
sh 'docker build -t andreas/rsyncd .'
|
sh 'docker build -t andreas/rsyncd .'
|
||||||
sh 'docker images'
|
sh 'docker images'
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user