Ok, what am I doing wrong? This is "right outta the box" and a non-starter,
read docs a few times, but maybe the amount of caffeine affecting my eyes
...
I figured I'd start playing around with workflow-plugin to actually code
... but alas, first quick pass starts throwing ClassCastException ...
Thanks in advance.
Running latest plugin 1.8 on Jenkins 1.619, not doing anything fancy (see
below), running the job hangs on
Running: Allocate node : Start
Still waiting to schedule task
Waiting for next available executor
Jenkins logs shows:
Jul 22, 2015 10:57:16 PM SEVERE hudson.triggers.SafeTimerTask run
Timer task hudson.model.Queue$MaintainTask@494e91b4 failed
java.lang.ClassCastException:
org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$PlaceholderTask
cannot be cast to hudson.model.AbstractProject
at
hudson.plugins.buildblocker.BuildBlockerQueueTaskDispatcher.getBuildBlockerProperty(BuildBlockerQueueTaskDispatcher.java:199)
at
hudson.plugins.buildblocker.BuildBlockerQueueTaskDispatcher.canTake(BuildBlockerQueueTaskDispatcher.java:108)
at hudson.model.Queue$JobOffer.canTake(Queue.java:300)
at hudson.model.Queue.maintain(Queue.java:1476)
at hudson.model.Queue$MaintainTask.doRun(Queue.java:2576)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Job config is
<flow-definition plugin="[email protected]">
<actions/>
<description/>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.plugins.buildblocker.BuildBlockerProperty plugin=
"[email protected]">
<useBuildBlocker>false</useBuildBlocker>
<blockLevel>GLOBAL</blockLevel>
<scanQueueFor>DISABLED</scanQueueFor>
<blockingJobs/>
</hudson.plugins.buildblocker.BuildBlockerProperty>
<com.synopsys.arc.jenkins.plugins.ownership.jobs.JobOwnerJobProperty plugin=
"[email protected]"/>
<com.sonyericsson.rebuild.RebuildSettings plugin="[email protected]">
<autoRebuild>false</autoRebuild>
<rebuildDisabled>false</rebuildDisabled>
</com.sonyericsson.rebuild.RebuildSettings>
<com.synopsys.arc.jenkinsci.plugins.jobrestrictions.jobs.JobRestrictionProperty
plugin="[email protected]"/>
<jenkins.plugins.slack.SlackNotifier_-SlackJobProperty plugin="[email protected]">
<teamDomain/>
<token/>
<room/>
<startNotification>false</startNotification>
<notifySuccess>false</notifySuccess>
<notifyAborted>false</notifyAborted>
<notifyNotBuilt>false</notifyNotBuilt>
<notifyUnstable>false</notifyUnstable>
<notifyFailure>false</notifyFailure>
<notifyBackToNormal>false</notifyBackToNormal>
<notifyRepeatedFailure>false</notifyRepeatedFailure>
<includeTestSummary>false</includeTestSummary>
<showCommitList>false</showCommitList>
<includeCustomMessage>false</includeCustomMessage>
<customMessage/>
</jenkins.plugins.slack.SlackNotifier_-SlackJobProperty>
</properties>
<definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition"
plugin="[email protected]">
<script>node { echo 'hello from Workflow' }</script>
<sandbox>false</sandbox>
</definition>
<triggers/>
</flow-definition>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/cd4297f8-8379-4232-861a-49bbc91e484e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.