diff --git a/credits.txt b/credits.txt new file mode 100644 index 0000000..e69de29 diff --git a/jenkinsfile b/jenkinsfile new file mode 100644 index 0000000..6fedc07 --- /dev/null +++ b/jenkinsfile @@ -0,0 +1,12 @@ +pipeline { + agent any + + stages { + stage('credits'){ + when { changeset "./credits.txt"} + steps { + sh "echo '{"type": "gray_messages.directorial.execute_command", "command":"ttsa", "args":" '"'"this as well is a test"'"'"}' | kafka_2.13-3.4.0/bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic gray_messages.directorial.execute_command" + } + } + } +} \ No newline at end of file diff --git a/subfolder/credits.txt b/subfolder/credits.txt new file mode 100644 index 0000000..e69de29