Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43568

readProperties java.exe locks properties file

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins version 2.54 (java 8)
      pipeline-utility-steps version 1.3.0

      After upgrading to pipeline-utility-steps version 1.3.0 java.exe locks the properties file. I'm using a Jenkinsfile to read properties:

      stages {    
          stage('Build Projects') {
              steps {
                  script {
                      def properties = readProperties file: 'MyProject.properties'                
                  }
              }
          }
      }
      

      After running one build java.exe doesn't release the file lock so another checkout can't finish.

          [JENKINS-43568] readProperties java.exe locks properties file

          Dutch Code created issue -
          Justin McMillan made changes -
          Attachment New: svn-update-stack-trace.log [ 38782 ]

            rsandell rsandell
            dutchcode Dutch Code
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: