192 questions
1
vote
1
answer
63
views
Rerun Jenkins Pipeline with parameters from the last build
I have a CI pipeline which is triggered whenever a user creates a merge request. In addition, I can run it on a specific branch that I give as a parameter. I then checkout the branch and run the unit ...
1
vote
0
answers
174
views
Disable logging of Jenkins functions in Jenkins Blue Ocean
When using the Jenkins functions readJSON and httpRequest in my groovy file for a Jenkins pipeline step, this gets shown as a row in Jenkins Blue. Is there any way to disable the logging of these ...
0
votes
1
answer
41
views
Show the host builder node name on the Blue Ocean Pipeline page
I was wondering if that is possible to show the information about the host builder machine on the Pipeline page of the Blue Ocean for the builds. Since the build pick the available builder to run on, ...
0
votes
1
answer
352
views
Blue Ocean "Repository URL - Please enter a valid URL."
I'm trying to create a Pipeline with my git repo in Blue Ocean, but whatever I enter in the text field I get the error 'Repository URL - Please enter a valid URL'. The Jenkins run through a Docker ...
0
votes
1
answer
44
views
Can i click to dropdown the parallel stages?
I created a pipeline with parallel stages using Jenkins and BlueOcean to view the work flow.
Is there a way to view only the parallel stage and when clicked on dropdown all the stages inside?
In the ...
0
votes
1
answer
1k
views
Jenkins pipeline throwing 'go: command not found' error while running shell script
I am trying to create pipeline using blue ocean(jenkins), but i am getting this error:
I have performed all the steps (linking github, creating stage etc.) and while creating the pipeline I used ...
0
votes
2
answers
559
views
How can I make Jenkins recognize a 'stage' node within a groovy method called from 'steps'?
I have a Jenkins pipeline supported by Groovy in the git SCM which has stage inside steps.
Why I did it- To reuse the code. Actually our reusable code lies in a groovy method that has got stage. And ...
1
vote
1
answer
557
views
building two repositories in one jenkins pipeline
I try to wrap my head around the problem, so it is also hard for me to ask any specific questions.
I have repo R1 and repo R2 at github. but I need to build them as one as this is a legacy project, so ...
1
vote
1
answer
2k
views
Jenkins build failed: gradlew: not found
I want to configure Jenkins 2.375.2 to build gradle project. But when I configure the pipe using Blue Ocean plugin and I run the pipeline I get error:
+ ./gradlew build
/var/lib/jenkins/workspace/...
0
votes
1
answer
298
views
How can I print current branch (of parallel branches) I am running at
I got code that list all branches and stages for my pipeline
def build_jobs = [:]
build_jobs['1'] = {
node('builder'){
stage('A'){
sh 'echo 1'
printMyStage()
...
0
votes
1
answer
281
views
jenkins - list curent stages name for each parallel branch
I got code that list all branches and stages for my pipeline
def build_jobs = [:]
build_jobs['1'] = {
node('builder'){
stage('A'){
sh 'echo 1'
printMyStage()
...
1
vote
0
answers
57
views
Report on build metrics
I need to report on build metrics. There is a plugin that offers this information called build-metrics but it does not work with blue ocean.
Has anybody found a way to accomplish this?
I've tried ...
1
vote
1
answer
1k
views
Parallel pipeline with 2 inline stages
Playing with Jenkins pipeline from https://www.jenkins.io/doc/pipeline/examples/#parallel-multiple-nodes
Simple two parallel steps (OK)
I made a first test pipeline this way:
pipeline {
stages {
...
1
vote
1
answer
6k
views
Jenkins pipeline unable to connect to github PRIVATE repository
Pulled latest jenkins image in docker. Followed the steps of jenkins io. Jenkins runs fine, I am able to create builds which checkout git repos.
What doesn't seem to work, is to create a pipeline for ...
3
votes
0
answers
513
views
Jenkins blue ocean bitbucket cloud login still possible with app password?
I am trying to setup a docker pipeline with Jenkins - Blue Ocean plugin. I have my repository in bitbucket cloud.
In the Blue Ocean plugin I create a new pipeline for bitbucket cloud, but can't ...