-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved to common debug script. Updated docker-compose to the latest im…
…ages. Updated documentation.
- Loading branch information
1 parent
372f6ca
commit 08f8e04
Showing
7 changed files
with
35 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,5 @@ | ||
#!groovy | ||
node { | ||
def mvnBuildNumber = "0.1.${env.BUILD_NUMBER}" | ||
@Library('jenkins-pipeline') import com.github.jcustenborder.jenkins.pipeline.KafkaConnectPipeline | ||
|
||
def mvnHome = tool 'M3' | ||
|
||
checkout scm | ||
|
||
if (env.BRANCH_NAME == 'master') { | ||
stage 'versioning' | ||
sh "${mvnHome}/bin/mvn -B versions:set -DgenerateBackupPoms=false -DnewVersion=${mvnBuildNumber}" | ||
} | ||
|
||
stage 'build' | ||
sh "${mvnHome}/bin/mvn -B -P maven-central clean verify package" | ||
|
||
junit '**/target/surefire-reports/TEST-*.xml' | ||
|
||
if (env.BRANCH_NAME == 'master') { | ||
stage 'publishing' | ||
sh "${mvnHome}/bin/mvn -B -P github,maven-central deploy" | ||
} | ||
} | ||
def pipe = new KafkaConnectPipeline() | ||
pipe.execute() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters