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

URLTrigger, config.jelly and checkLastModificationDate should be optionalBlock

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: urltrigger-plugin
    • Labels:
      None
    • Environment:
      debian, Sonatype Nexus
    • Similar Issues:

      Description

      Please make 'checkLastModificationDate' check optional (checkbox -> optionalBlock). Now it undisableable.

      My situation was following:
      Using URLTrigger to retrieve change information from artifact hosted by Nexus Sonatype (ex. http://<addr>/repositories/public/<myproject>/pom.xml). I have option to check 'timestamp' element in the pom.xml, but it never happens - lastModificationDate was always new (maybe it's Sonatype bug, i dont know). Undisebleability of this option cause my project rebuild in infinite loop (because lastModification is always new).

      Currently i make a local change in config.jelly and now i works good.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/plugins/urltrigger/URLTrigger.java
          http://jenkins-ci.org/commit/urltrigger-plugin/a2ce67ab59778860923ea48c43733ce0618792e4
          Log:
          Fix JENKINS-10728

          Compare: https://github.com/jenkinsci/urltrigger-plugin/compare/cd64307...a2ce67a

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/urltrigger/URLTrigger.java http://jenkins-ci.org/commit/urltrigger-plugin/a2ce67ab59778860923ea48c43733ce0618792e4 Log: Fix JENKINS-10728 Compare: https://github.com/jenkinsci/urltrigger-plugin/compare/cd64307...a2ce67a
          Hide
          gbois Gregory Boissinot added a comment -

          The problem was due to a bug on the save procedure

          Show
          gbois Gregory Boissinot added a comment - The problem was due to a bug on the save procedure

            People

            Assignee:
            gbois Gregory Boissinot
            Reporter:
            lampsound alexey krylov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: