mirror of
https://github.com/chillout2k/sos-milter.git
synced 2025-12-11 01:30:19 +00:00
Jenkins scripted multibranch pipeline
This commit is contained in:
parent
ac180b2145
commit
db1c408c58
@ -1,6 +1,12 @@
|
||||
node {
|
||||
def dockerImage
|
||||
|
||||
stage('Clone repository') {
|
||||
sh '/usr/bin/env'
|
||||
/* Let's make sure we have the repository cloned to our workspace */
|
||||
checkout scm
|
||||
}
|
||||
|
||||
stage('Build image') {
|
||||
sh '/usr/bin/env'
|
||||
/* Multi-Branch Pipeline works with env.BRANCH_NAME*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user