Hi Jesse,


When I had no logs from my DSL step I was referring to the console output...


Started by user anonymous <http://localhost:9090/jenkins/user/null>[Pipeline] 
nodeRunning on master in 
/Users/pallen/Workspaces/main.p4-jenkins/dev/work/workspace/groovy[Pipeline] 
{[Pipeline] stage (Populate files)Using the ‘stage’ step without a block 
argument is deprecated
Entering stage Populate files
Proceeding[Pipeline] p4sync
... p4 client -o jenkins-master-groovy +
... p4 info +
... p4 client -o jenkins-master-groovy +
... p4 client -i +
... client: jenkins-master-groovy
... p4 client -o jenkins-master-groovy +
... p4 info +
... p4 counter change +
... p4 changes -m1 -ssubmitted //jenkins-master-groovy/... +
Building on Node: master
... p4 client -o jenkins-master-groovy +
... p4 info +
---SNIP---
P4 Task: syncing files at change: 11528
... p4 sync 
/Users/pallen/Workspaces/main.p4-jenkins/dev/work/workspace/groovy/...@1152___ +
duration: (19ms)

P4 Task: saving built changes.
... p4 client -o jenkins-master-groovy +
... p4 info +
... done
[Pipeline] stage (Sync files)Using the ‘stage’ step without a block argument is 
deprecated
Entering stage Sync files
Proceeding[Pipeline] p4
... p4 client -o jenkins-master-groovy +
... p4 info +
... p4 client -o jenkins-master-groovy +
... p4 client -i +
... client: jenkins-master-groovy
... p4 client -o jenkins-master-groovy +
... p4 info +
---SNIP---
P4 Task: establishing connection.
... server: phooey.das.perforce.com:1666
... node: phooey.das.perforce.com
... p4 sync -q //streams/st1-main/... +
[Pipeline] }[Pipeline] // node[Pipeline] End of 
Pipelinejava.lang.NullPointerException
        at 
hudson.remoting.RemoteOutputStream.writeObject(RemoteOutputStream.java:82)
        at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)



When I make TaskListener transient the block highlighted in red is missing.


It turns out I had marked TaskListener as transient in both GetP4Task and 
P4Groovy, but only P4Groovy (program state) was required.


Thanks for the explanation.


Paul  


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/f915a33f-9994-420a-9712-0d2228d9fc92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to