Created a bug here
https://issues.jenkins-ci.org/browse/JENKINS-26958
fredag 13. februar 2015 17.42.08 UTC+1 skrev Baptiste Mathus følgende:
>
> I had the problem some days ago with internal housekeeping system groovy
> script. Until the workflow-plugin, virtually every build in a Jenkins
>
I had the problem some days ago with internal housekeeping system groovy
script. Until the workflow-plugin, virtually every build in a Jenkins
instance seems to be an AbstractBuild instance. So, I lazily assumed that
anything can be casted down to AbstractBuild when asking
Jenkins.getItems(). Basic
Trying the new workflow plugin, the following script
node {
svn url: 'https://svnserver.intra.buypass.no/svn/bps/smoketests/trunk/'
def mvnHome = tool 'Maven-3.2.1'
bat "${mvnHome}\\bin\\mvn clean compile"
}
fails with
Running: Allocate node : Start
Running on master in C:\Jenkins\workspa