Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mishav9 authored Jul 18, 2023
1 parent c1f5e8f commit 3e838d0
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,46 @@ This repository includes examples demonstrating how to use the New Java Kafka Pr
All examples are based on Kafka 0.11.0.0 and Java 1.7+.

Some of the example ideas are borrowed from [@confluentinc](https://github.com/confluentinc/examples/), [@gwenshap](https://github.com/gwenshap/kafka-examples) and Apache Kafka Opensource community.





pipeline {
agent any
stages {
stage('Checkout') {
steps {
// Checkout the source code from your version control system
// For example, using Git:
git 'https://github.com/example/repo.git'
}
}
stage('Build') {
steps {
// Perform your build steps here
}
}
stage('Deploy') {
steps {
// Access the changeset information
script {
// Get the affected files in the changeset
def affectedFiles = CHANGESET['items']

// Print the affected files
for (def file : affectedFiles) {
println "Modified File: ${file.path}"
}

// Get the commit message
def commitMessage = CHANGESET['msg']
println "Commit Message: ${commitMessage}"
}

// Deploy your application or perform other actions based on the changeset
}
}
}
}

0 comments on commit 3e838d0

Please sign in to comment.