How To Run a Groovy Script in Jenkins

preview_player
Показать описание
Need help with your Jenkins questions?

#jenkinstutorial

Information referenced in this video:

How To Use Jenkins CLI

Plugins Manager Simple Report

Jenkins LTS 2.452.3

CloudBees on X:

Darin on X:
Рекомендации по теме
Комментарии
Автор

@darinpope thank you for the video. I have a question, can I use functions come with plug-ins. Let's say Pipeline Utility Steps -> readYaml within the groovy file?

mohacs
Автор

how will the command look like, if I like to replay-pipeline?


I try

java -jar jenkins-cli.jar -s <jenkins-url> replay-pipeline <job-path> -s Script1 < test.groovy

but this didn"t work

chrisre