Questions tagged [jenkins-dsl]

4 questions
1
vote
0 answers

Jenkins multibranch tags view limit to only latest 10 tags

I have jenkins multibranch setup, with tag discovery trait. From the folder view, i have the Tags(n) view that currrently shows all tags ever pushed to that particular repo in git. I tried the following dsl, which only works for branches for obvious…
maress
  • 3,533
  • 1
  • 19
  • 37
1
vote
0 answers

Return value between Pipelines

I have two pipelines, that works isolated between each other. And a third that invoked both of them, and it require information returned by one of them. From the Pipeline C invoke service-docker-build and I want to obtain the Docker image tag…
paul
  • 12,873
  • 23
  • 91
  • 153
0
votes
1 answer

Can I trigger a jenkins dsl pipelineJob from another job?

I have a jenkins DSL freestyleJob which polls a github repo and triggers when it detects a change. I want to trigger a 'pipeline' job within this freestyleJob. Is this possible? I see in the web ui that I can add a 'post-build' step to build another…
-1
votes
1 answer

Jenkins DSL - How to create directory?

folder('myfoler') {} Above DSL Syntax from https://jenkinsci.github.io/job-dsl-plugin/#path/folder allowing me to create a folder myfoler. I need to create a directory. Tried this: folder('myfoler/mysubfoler') {} This gives me error ERROR: Could…
anandhu
  • 686
  • 2
  • 13
  • 40