Article From:https://www.cnblogs.com/tylerzhou/p/9059796.html

First, let’s talk briefly about the meaning of various icons for Jenkins to build tasks.

My main interface has the following construction tasks, the first two columns are icons, the first column is the state of construction, the previous blue represents success, the red represents failure. Of course, that is for a build, a construction task may be built many times, the blue here is not completely representative of the task is to build success,In addition, we also see that there is also an unseen state of state indicating the ball: grey ball, where the gray ball represents the task in a forbidden state or is often not executed once. Here is the meaning of the two column weather indicator: the sunny day (too much)On behalf of the project, all the projects in this project are successful, cloudy and clear (dark clouds) represent a successful construction and a failure to build, but the success rate is higher than the failure rate. The cloudy weather (a cloud logo) represents success and failure, but the failure rate is greater than the success rate, like my intThe egryWithMsBuild task, putting the mouse on the weather icon of the current task, displays a suspension box.

As illustrated, it is a detailed description of the current build state. It has 4 constructs, of which 2 fail. The percentage of the tail is the percentage of success rate, not the failure rate, and it needs to be noted.

Lightning weather (black cloud plus lightning) represents all failures, such as my MutiSteps task, putting the mouse on the weather icon and popping up the following suspension layer:

All the builds failed, and the success rate was zero at this time.

 

Here’s the management of the construction task:

  1. Delete the build record

    We enter a building task (click its name from the main interface).

    When you get into the construction task page, there will be the upper interface. If you have only one build record, you can click on the “Build Now” on the left to create multiple construction records. My interface is not “Build now”, and you don’t mind, this is because my task is a timing.The task is closed, and if the task is turned on, there will be the “Build Now” option.

    For example, I want to delete the 75 construction task, here I can click on the triangle behind the name of the task record. (everyone does not see the triangle on the interface. When you move the mouse cursor to a construction record name, it will appear a triangle behind) and the following drop-down menu appears.

    The cursor moves to the last option, “Delete Build”, to delete the build. At this time, there will be a prompt to delete this construct.

    At this point, clicking the Yes button can delete the current build, and of course, one way to delete is to directly click on the construction record name, enter its detailed information interface, and then click on the “Delete Build” on the left.

    This is the following interface

    If you ask if you delete it, you will see that the tip is exactly the same as above. In fact, the click triangle on the top is the same operation as this step, and the delete operation of the triangle is only “quick operation” of this step.

    At this time, you will find that if you don’t want to delete the build, there is no cancel button to cancel the operation, only one yes. At this time, you click on the left navigation bar in addition to removing the other buttons outside the build.

  2. To build a record name: as I have shown above, there is a 75 build record in this construction task, and Jenkins acquiescence with the number switch and add numbers to the records, which is not intuitive enough. We can rename and add some description information for quick interpretation of the construction record.Information.

    The mouse hovering is a small triangle on the right side of the record, and a drop-down list appears on the right triangle.

    As illustrated, we chooseEdit Build Information,Modify the construction information,

    Let’s fill in some content as a demonstration

    I fill in the contents as above, then click the Save button to save the changes, then click on the top left side.Back To Project

    Back to building the record list, you will find that the name of the record in construction history is no longer #75, but just modified.

    And its information is in a state of default.

  3. Delete the build task

    It tells how to delete a build record, here’s how to delete a build task. In fact, the deletion method is similar. If you are currently on the home page of the construction task, the left side will have the Delete Project option:

    Click the Delete Project button. A pop up box will appear at this time to ask whether to delete. If click OK, the current task will be deleted.

  4. Disable task

    If you want to disable a task, you can disable the current item in the main panel of the task by clicking Disable Project in the upper right-hand corner.

  5. Task search:

    If the task list is getting more and more tasks, it will become harder and harder to find the naked eye. You can use the search function of Jenkins at this time.

    You can search in the search box by entering the corresponding name.

  6. Task ordering

    JenkinsAll header fields in the main interface list are clickable, clicking the corresponding header can be sorted as conditions.

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *