I am new to Jenkins. I am working on a project where I need to frequently check if there are any steps failed in the Jenkins pipeline steps area (attached to the image).
I am not able to find anything appropriate on google. Any suggestions or links to the documentation will help me to work on this. Here in the attached I want to apply a filter of the status column where I can apply a filter for error/success steps.
Related
I have a jenkins pipeline which I have written using Declarative pipeline syntax. The pipeline is running fine. I am able to view steps and detailed steps.
Now, the client has a requirement where they want to see these steps in a report fashion. They want to show/handover these reports to their audit firm. The thing is they don't want to give their audit firm jenkins access. The audit firm should be able to view whatever is going on in the pipeline.
So, I made the console output of the build in a pdf file. Now, they want to see the steps too.
First is the simple pipeline steps view,
Second is the detailed pipeline steps view,
Now I have to display this in another file.
Is there a plugin to export these steps in a visual format?
If not using a plugin, is there an API from which I can extract the text of these steps? I see they are not available in the /api/json endpoint of a build.
Anything else that can be done?
Thanks.
BlueOcean API has the info you need at
${YOUR_JENKINS_URL}/blue/rest/organizations/jenkins/pipelines/${JOB_NAME}/runs/${BUILD_ID}/nodes/"
I've imported a dataflow job as a Data Pipeline in the Dataflow Job's UI
been able to set schedule to this pipeline but i can't see the pipeline details
Is there something wrong or maybe i lack permission in the project?
Thanks.
Edit:
Yes I'm able to see the Pipeline on the Main Page, and the individual Pipeline also works and i can see it.
And i can confirm it is indeed triggered by the Data Pipeline schedule.
What permissions do you have on the project? I don't believe it is a permissions issue as you are able to access/view other details in the UI.
Can you view this pipeline on the main page? Also, on the individual Pipeline Details page, what all information can you view?
I am looking for help to create a Jenkins job which reads a value from an excel file and then use this as one of the build parameters for my job.
I have found the following documentation and I have downloaded the Pipeline Utility Steps plugin, but I am unsure where in the job config I can set this up:
https://www.jenkins.io/doc/pipeline/steps/pipeline-utility-steps/#readcsv-read-content-from-a-csv-file-in-the-workspace
I am relatively new to Jenkins so any help would be greatly appreciated. I have looked for a solution already on this page and others but have not been able to find anything that helps me. I have included a screenshot below of how my job is currently parameterised:
jenkins job screenshot
I am using the Delivery pipeline plugin for grouping my jobs into stages.
Currently, there seems no mechanism to directly go to a particular older pipeline instance in the view.
I wanted to provide a provide a mechanism(posssibly a link) in the Initial job(JobI) of the pipeline so that whenever I click on a particular build of the JobI, it should redirect me to that particular pipeline instance of the pipeline view directly.
I also tried to achieve the above behavior via some other pipeline plugins i.e Build pipeline etc. but no solution.
The idea is to make the view easy to use for a user,so that he does not have to take the pain of scrolling through all the instances to get to a particular instance.
I want to replicate the behavior of the "builds in the jobs" for the "versions of the view" or similar to that.
Any help/suggestions would be great.
Try Build Graph View Plugin to view the executions of downstream builds.
But this plugin doesn't have a grouping of jobs as stages, it is plain flow graph.
This is a broad question, so any answers are deeply appreciated. I need to continually log the size of several build files (in this case some CSS and JS files), preserve this log and ideally show it as a dashboard in Jenkins.
I know that I can setup a cron job and execute a bash script to grab the files and log their size, but I'm not sure where this file would live and how to display it. Ideally the result would be a dashboard plot or bar graph over time.
Thanks.
P.S. I'm open to other logging suggestions, but Jenkins seems like the appropriate system to do this in.
Update: this isn't perfect but it works. Google Spreadsheets has a simple API for posting data, so this can work as an endpoint for any script you want to write that logs your data.
It's not a Jenkins solution, but gets the job done.
In my search leading up to this, I did come across JMeter, and the Performance Plugin for Jenkins, which were contenders for a possible solution.