The task.statusLine is accessible only form plugins. It shoud be good to access to this property fromt he jython script as well

Comments

  • Currently, the status line feature is only available for custom script tasks. Neither the user interface nor the lifecycle of regular script tasks supports it. If a script is lengthy and involves complex operations that would benefit from status line visibility, it is recommended to encapsulate it into a dedicated custom task for better management and versioning in a single location.

    Could you please provide a more detailed description of the intended script's functionality and the challenges of converting it into a custom script task?

  • Severeal devops engineer creates pipelines in the system, and sometimes they add some custom scripts to the templates. These scripts has some output what should good to make visible on the UI, like a build number, ticket id, etc...
    To create a custom task you need permission to upload the custom task, and also you must restart the server, etc. In a live environment you cannot just restart a server without a good reason. I think this is the real challenge to convert the scripts to custom tasks.

    Just to make an otherwise available property visioble for the scripts is not a big deal and we have to do this work only once :D
    To create a custom task any time when we want to just show some information to the users causes much more effort, and more chance to do mistakes.
    Of course we have a workaround. We can write these information into the task activity log, but to see that, the users always must open the task, move to the activity log, etc.

  • Thank you for the follow up scenario. We will wait for broader customer base to upvote this idea.

  • Similar idea was created, linking here: https://ideas.digital.ai/devops/Idea/Detail/4153