jenkins-playground/jenkinsfile
2024-10-25 21:09:17 -04:00

12 lines
437 B
Plaintext

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"
}
}
}
}