Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-36934

Fix Jenkinsfile plantuml for ts_phosim

    XMLWordPrintable

Details

    • 1
    • Telescope and Site
    • No

    Description

      The `plantuml.jar` file appears to be corrupt - the most recent build on Jenkins fails with 

      Error: Invalid or corrupt jarfile /home/jenkins/workspace/scope-and-Site_ts_phosim_develop/plantuml.jar\n'
       WARNING: error while running plantuml
      

      which was seen before with `ts_wep` when 

      PLANTUML_URL = "http://sourceforge.net/projects/plantuml/files/plantuml.jar"
      

      was used. Fix that to a `plantuml.jar` that  is already used in `ts_wep` or `ts_ofc`. 

      Attachments

        Issue Links

          Activity

            The fix that worked for `ts_wep` was to use  one of the github links   https://github.com/plantuml/plantuml/releases , as mentioned here  https://lsstc.slack.com/archives/C9BEJU1T3/p1654119592305989?thread_ts=1654107524.467599&cid=C9BEJU1T3 

             

              

            ksuberlak Krzysztof Suberlak added a comment - The fix that worked for `ts_wep` was to use  one of the github links    https://github.com/plantuml/plantuml/releases  , as mentioned here  https://lsstc.slack.com/archives/C9BEJU1T3/p1654119592305989?thread_ts=1654107524.467599&cid=C9BEJU1T3       

            It was merged , but the browser started hanging on "Hang in there while we check the branch's status.". In a different browser I confirmed that it got merged to `develop` and deleted the ticket branch. I don't know why Jira ticket shows PR as 'declined' as it has already been merged. I've also tagged develop. 

            ksuberlak Krzysztof Suberlak added a comment - It was merged , but the browser started hanging on "Hang in there while we check the branch's status.". In a different browser I confirmed that it got merged to `develop` and deleted the ticket branch. I don't know why Jira ticket shows PR as 'declined' as it has already been merged. I've also tagged develop. 
            ttsai Te-Wei Tsai added a comment -

            Reviewed in GitHub.

            ttsai Te-Wei Tsai added a comment - Reviewed in GitHub.

            Another PR addressing a fix to plantuml path (introducing PLANTUML_PATH env variable as in https://github.com/lsst-ts/ts_m2com/blob/develop/Jenkinsfile#L86-L87 ) has been merged and released as ts_phosim  v2.2.1 

            ksuberlak Krzysztof Suberlak added a comment - Another PR addressing a fix to plantuml path (introducing PLANTUML_PATH env variable as in https://github.com/lsst-ts/ts_m2com/blob/develop/Jenkinsfile#L86-L87  ) has been merged and released as ts_phosim  v2.2.1 

            People

              ksuberlak Krzysztof Suberlak
              ksuberlak Krzysztof Suberlak
              Te-Wei Tsai
              Bryce Kalmbach, John Franklin Crenshaw, Krzysztof Suberlak, Te-Wei Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.