Details

    • Type: Task
    • Status: Done
    • Priority: Minor
    • Resolution: Done
    • Affects versions: None
    • Fix versions: 3.4
    • Components: Architecture
    • Labels:

      Description

      Currently, we are keeping builds using

      currentBuild.rawBuild.keepLog(true)

      which may introduce some security issues. Pipeline Supporting API Plugin has whitelisted setKeepLog method, but it's not released yet. The purpose of this ticket is updating Jenkinsfile to use this safe method after plugin 2.19 release.

      The list of releases: https://github.com/jenkinsci/workflow-support-plugin/releases.

      Acceptance Criteria:

      • a whitelisted method is used to set keepLog option
      • dangerous approvals are cleared on Jenkins -> In-process Script Approval
      • release build should be automatically kept forever on master branch
      • deploy to test should be triggered only for SNAPSHOT version on master

        Checklists

          Attachments

            Issue links

              Activity

                People

                • Assignee:
                  kpalkowska Klaudia Pałkowska
                  Reporter:
                  kpalkowska Klaudia Pałkowska
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 days, 4 hours
                    2d 4h
                    Remaining:
                    Time Spent - 1 day, 6 hours Remaining Estimate - 6 hours
                    6h
                    Logged:
                    Time Spent - 1 day, 6 hours Remaining Estimate - 6 hours
                    1d 6h