Re: [workflow-plugin] Does anyone use a GroovyDSL script to describe the workflow plugin api with IntelliJ IDEA?

2015-01-22 Thread Gary Clayburg
https://gist.github.com/gclayburg/0107bdeb38349c6fc87a I started to create a .gdsl file for IntelliJ on github. Right now it supports these build steps: sh readFile echo node This file contains both some Javadoc of the methods (build steps) and the parameters supported. In IntelliJ: View->Qui

[workflow-plugin] unarchive fail to create file on slave

2015-01-16 Thread Gary Clayburg
I'm not sure if this is the correct place to ask about this, but it looks like I ran into a but with Jenkins workflow-plugin. Try this workflow-plugin groovy code: node('master'){ git url: 'https://github.com/gclayburg/mongodbhello.git' archive 'pom.xml, policyconsole/' } node('builderbee'){

[workflow-plugin] Does anyone use a GroovyDSL script to describe the workflow plugin api with IntelliJ IDEA?

2015-01-15 Thread Gary Clayburg
I am using IntelliJ IDEA to edit the workflow-plugin groovy scripts for my Jenkins build. This works great for the generic groovy parts of the build script. However, IntelliJ by itself has no knowledge of the workflow-plugin steps called from groovy so it can't suggest any completion or sho

Re: [workflow-plugin] Reading and parsing property file

2015-01-15 Thread Gary Clayburg
FYI - the syntax for readFile() is incorrect. It should be: def str = readFile file: 'somefile', encoding : 'utf-8' -- 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