Dashboard customization

ricardo.gaspar.ext's Avatar

ricardo.gaspar.ext

06 Jan, 2017 11:31 AM

Hello,

Under deployment process I've created a first step which runs this script:
Function Get-IISVersion{
    $iisversion = get-itemproperty HKLM:\SOFTWARE\Microsoft\InetStp\ | select -ExpandProperty versionstring
    $iisversion
}
Write-output "IIS version installed on $($env:COMPUTERNAME): " (Get-IISVersion)

Then I need to create a Release to deploy this step into my project. On release version its only possible to put numbers like the default 0.0.1.

I would love to see on dashboard not '0.0.1' but 'Version 7.5' as result as $iisversion got from my script.
Is this possible to do?

Warm regards,
Ricardo

  1. Support Staff 1 Posted by Dalmiro Grañas on 06 Jan, 2017 05:02 PM

    Dalmiro Grañas's Avatar

    Hi Ricardo,

    Thanks for reaching out. That's absolutely not possible. In Octopus we strictly follow the Semantic version format for releases, and Version 7.5 is not a valid SemVer version string.

    Regards,
    Dalmiro

  2. 2 Posted by ricardo.gaspar.... on 09 Jan, 2017 10:01 AM

    ricardo.gaspar.ext's Avatar

    Hi Dalmiro,

    thanks for your reply.
    I understand it's only possible use integers on this string.

    My question is it possible to change the release version field name to 7.5.0 automatically?
    I mean, I create a release and named as 1.0.1, after run the task it devolves a result which is only possible to see on task log. Of course i can manually name the field after check the version returned from script but automatic change makes more sense.

    Regards,
    Ricardo

  3. Support Staff 3 Posted by Dalmiro Grañas on 09 Jan, 2017 03:42 PM

    Dalmiro Grañas's Avatar

    Hi Ricardo,

    It is not possible to change the version of a release after it was created.

    Regards,
    Dalmiro

  4. Paul Stovell closed this discussion on 09 Apr, 2017 02:20 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

25 May, 2017 03:02 AM
25 May, 2017 02:43 AM
25 May, 2017 02:39 AM
25 May, 2017 02:36 AM
25 May, 2017 02:34 AM