Pipeline decided the timestamper plugin wasn't loaded?

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Saw this a couple times from a pipeline in ci.jenkins.io

      The timestamper plugin has never not been loaded in recent history, and yet somehow the parser couldn't find it for some intermittent period of time when these Pipelines were retriggered by "branch indexing".

      Nothing was really jumping out at me in the instance logs

      Branch indexing
      
      Connecting to https://api.github.com using jenkinsadmin/****** (GitHub access token for jenkinsadmin)
      
      Loading trusted files from base branch staging at 01bbca41a9c44b83d2b275c4c307bdd79ab7ba38 rather than 0ec262c0d14bd815e1f624080ab0dc029443ef50
      
      Obtained Jenkinsfile from 01bbca41a9c44b83d2b275c4c307bdd79ab7ba38
      
      Loading library pipeline-library@master
      
      Attempting to resolve master from remote references...
      
      Found match: refs/heads/master revision 88016efbe01befaae2eeb960c732a95e4dbc1079
      
      Fetching changes from the remote Git repository
      
      Fetching without tags
      
      Checking out Revision 88016efbe01befaae2eeb960c732a95e4dbc1079 (master)
      
      Commit message: "Merge pull request #17 from oleg-nenashev/INFRA-1277"
      
      
      GitHub has been notified of this commit’s build result
      
      
      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      
      WorkflowScript: 9: Invalid option type "timestamps". Valid option types: [ansiColor, authorizationMatrix, buildDiscarder, catchError, disableConcurrentBuilds, overrideIndexTriggers, realTimeJUnitReports, retry, script, skipDefaultCheckout, skipStagesAfterUnstable, throttle, timeout, withCredentials, withEnv, ws] @ line 9, column 9.
      
                 timestamps()
      
                 ^
      
      
      1 error
      
      
      	at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
      
      	at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1085)
      
      	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
      
      	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
      
      	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
      
      	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
      
      	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
      
      	at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
      
      	at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
      
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:129)
      
      	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:123)
      
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:517)
      
      	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:480)
      
      	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:269)
      
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      
      	at hudson.model.Executor.run(Executor.java:421)
      
      Finished: FAILURE
      

            Assignee:
            Andrew Bayer
            Reporter:
            R. Tyler Croy
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: