Thanks very much for this :)
On Tuesday, September 12, 2017 at 5:42:03 PM UTC+1, Joshua Noble wrote:
>
> With declarative pipelines this is pretty straight forward, just build the
> Docker image like you would on your local machine using `sh` commands.
>
> For example, in our cluster all build ag
Hello all,
Do we have any update here ? i have been trying to use dockerfile as the
agent to build a docker image from the Dockerfile in my source repo and
then be able to run some unit tests within the container.
I browsed all possible sources of documentation(see below) but still no
luck. H
Hi Alex,
I had some trouble figuring out how to do this as well. The docs here show
what is possible for docker.image using scripted pipeline (and thus inside
of a script{} block):
https://go.cloudbees.com/docs/cloudbees-documentation/cje-user-guide/index.html#docker-workflow
I ended up with s
With declarative pipelines this is pretty straight forward, just build the
Docker image like you would on your local machine using `sh` commands.
For example, in our cluster all build agents are actually the same, but
most builds run inside of a container on one of these nodes, which you've
not
Hi Drew,
Could you post where you found the example using script{} block? I'm
looking into building Docker images in ephemeral jenkins agents but having
difficulty finding proper documentation for the syntax.
-Alex
On Thursday, June 1, 2017 at 1:23:11 AM UTC-5, drew@computecanada.ca
wrote
Hello Andrew and Thomas,
I ran in this exact problem and used a script{} block, but I am wondering
if there are updates to this issue. All of the documentation/examples I
have seen use scripted syntax, but sometimes the documentation is behind
the code. :)
Cheers,
Drew.
On Tuesday, February
I would also be very interested in this. @Thomas: How are you proceeding
with your topic? Maybe we can share our experience and help each other on
this topic?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and
That would explain the complete lack of examples. I'm kindof surprised
there wasnt some kind of mapping from plugin dsl to the new declarative
syntax, to at least allow some use of the existing apis. The script blocks
are good enough for now however.
Thanks :)
On Tuesday, February 14, 2017 at
Right now, we don't have a great answer for this other than to use Scripted
Pipeline docker.build(...) within a script { } block - we don't allow
"foo.bar()" or "foo = bar()" syntax in steps blocks in Declarative unless
they're within a script block. Anything within a script block doesn't go
throug
Hi,
I'm brand new to jenkins, and have been reading a lot about the pipeline
plugin. I think I have a basic grasp of it, but I haven't been able to
figure out the proper syntax to build docker images in a pipeline stage. I
don't want to run the steps IN a docker container, but rather build
con
10 matches
Mail list logo