Skip to content

Commit 9ac2086

Browse files
committed
Commit Jenkinsfile
1 parent c3621d6 commit 9ac2086

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Jenkinsfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
node () {
2+
stage ('Checkout') {
3+
checkout([$class: 'GitSCM', branches: [[name: 'refs/heads/2.1']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '', url: 'https://github.com/signal18/replication-manager.git']]])
4+
}
5+
stage ('Build OSC') {
6+
docker.withRegistry("https://index.docker.io/v1/", "docker-hub") {
7+
def newApp = docker.build("signal18/replication-manager:2.1","-f docker/Dockerfile .")
8+
newApp.push()
9+
}
10+
}
11+
stage ('Build PRO') {
12+
docker.withRegistry("https://index.docker.io/v1/", "docker-hub") {
13+
def newApp = docker.build("signal18/replication-manager:2.1-pro","-f docker/Dockerfile.pro .")
14+
newApp.push()
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)