Change By: Andy Shulman (14/Aug/14 12:35 AM)
Description: When I generate a build timeout block with 

    wrappers {
      timeout {

        noActivity(1800)

        failBuild(true)

      }
    }

The value on the job config page is wrong. The XML generated is below:

    <hudson.plugins.build__timeout.BuildTimeoutWrapper>
        <strategy class="hudson.plugins.build_timeout.impl.NoActivityTimeOutStrategy">
            <timeout>1800</timeout>
        </strategy>
        <operationList>
            <hudson.plugins.build__timeout.operations.FailOperation/>
        </operationList>
    </hudson.plugins.build__timeout.BuildTimeoutWrapper>

The important part is the "<timeout>1800</timeout>", versus the correct XML here:

    <hudson.plugins.build__timeout.BuildTimeoutWrapper>
      <strategy class="hudson.plugins.build_timeout.impl.NoActivityTimeOutStrategy">
        <timeoutSecondsString>1800</timeoutSecondsString>
      </strategy>
      <operationList>
        <hudson.plugins.build__timeout.operations.FailOperation/>
      </operationList>
    </hudson.plugins.build__timeout.BuildTimeoutWrapper>

where we find out the property is actually <timeoutSecondsString>1800</timeoutSecondsString>.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to