How do I inform the name of Dockerfile?

17 views
Skip to first unread message

Fernando Possebon Junior

unread,
Apr 29, 2023, 4:40:57 PM4/29/23
to Jenkins Users
In my repository I have different dockerfiles each for one environment, how can I specify the dockerfile name?

It seems that plugin will always assume that will exist only the Dockerfile file on repo.

Best regards

possebon

Prasenjit Dutta

unread,
Apr 30, 2023, 3:38:14 AM4/30/23
to jenkins...@googlegroups.com
I believe you can specify with different names to be identify for different purposes and can mention it with -f tag

regards

--
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 an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5f94021e-78de-42be-8cac-c3e4239c85e2n%40googlegroups.com.


--
Prasenjit

Fernando Possebon Junior

unread,
Apr 30, 2023, 11:11:13 AM4/30/23
to Jenkins Users
Hi, thanks for your reply.

I already tried the -f but did not work. I put on build arguments.

Regards

Reply all
Reply to author
Forward
0 new messages