Jenkinsfile hinzugefügt
This commit is contained in:
Vendored
+21
@@ -0,0 +1,21 @@
|
|||||||
|
pipeline {
|
||||||
|
stages {
|
||||||
|
stage('Buildo Roboto') {
|
||||||
|
agent {
|
||||||
|
kubernetes {
|
||||||
|
defaultContainer 'kaniko'
|
||||||
|
yamlFile 'kaniko.yaml'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
/*
|
||||||
|
* Since we're in a different pod than the rest of the
|
||||||
|
* stages, we'll need to grab our source tree since we don't
|
||||||
|
* have a shared workspace with the other pod(s)..
|
||||||
|
*/
|
||||||
|
checkout scm
|
||||||
|
sh 'sh -c ./scripts/build-kaniko.sh'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user