Pipeline gdsl for ci.jenkins.io

190 views
Skip to first unread message

Oliver Gondža

unread,
May 4, 2017, 9:23:27 AM5/4/17
to jenkin...@googlegroups.com
Hi,

I am setting up my IDEA to use the GDSL and I though about putting gdsl
file for ci.jenkins.io to upstream code repository so it will work for
all contributors out of the box and will be aware of upstream ci server
capabilities. Though [1] gives me 404. Is this disabled intentionally or
just not installed? Is there any easier way to get it?

[1] https://ci.jenkins.io/workflow-cps-snippetizer/gdsl

Thanks
--
oliver

Jesse Glick

unread,
May 4, 2017, 9:38:52 AM5/4/17
to Jenkins Dev
On Thu, May 4, 2017 at 9:23 AM, Oliver Gondža <ogo...@gmail.com> wrote:
> I am setting up my IDEA to use the GDSL and I though about putting gdsl file
> for ci.jenkins.io to upstream code repository so it will work for all
> contributors out of the box and will be aware of upstream ci server
> capabilities.

This code is really poorly maintained. Does not grok nested structs,
metasteps, `parallel`, parameter defaults, etc., and by design cannot
grok return types. I think in its current state it is more confusing
than helpful.

That said, https://ci.jenkins.io/pipeline-syntax/gdsl is the URL you
were looking for.

Oliver Gondža

unread,
May 4, 2017, 10:33:03 AM5/4/17
to jenkin...@googlegroups.com
On 2017-05-04 15:38, Jesse Glick wrote:

> That said, https://ci.jenkins.io/pipeline-syntax/gdsl is the URL you
> were looking for.

Thanks, and pardon my ignorance but is there any way to associate
`Jenkinsfile*` pattern with it? It does not seem to be a file type but
rather a groovy "kind" and the only way to utilize that I found is
create a new groovy file and select that type. That however adds .gdsl
suffix to it. When I rename that to `Jenkinsfile`, the code assistance
is gone. What do I miss?

Thanks
--
oliver

Jesse Glick

unread,
May 4, 2017, 10:59:18 AM5/4/17
to Jenkins Dev
On Thu, May 4, 2017 at 10:32 AM, Oliver Gondža <ogo...@gmail.com> wrote:
> pardon my ignorance but is there any way to associate
> `Jenkinsfile*` pattern with it?

You will need to ask someone who uses IDEA.

Robert Sandell

unread,
May 4, 2017, 11:58:10 AM5/4/17
to jenkin...@googlegroups.com
http://www.tothenew.com/blog/gdsl-awesomeness-understanding-context-and-contributors-in-detail/

But I refrained from associating it with the Jenkinsfile regexp pattern because at the time I wasn't writing any pipeline scripts in Jenkinsfile files so for me at the time it would have rendered the gdsl useless :)

/B


--
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 jenkinsci-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0bCUBdF9QwbN%2B_1ESpAciKkT%3D7pj8wrHyp-veyDc5K5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Robert Sandell
Software Engineer
CloudBees Inc.
Reply all
Reply to author
Forward
0 new messages