Hi
Is there a way to use parameters in the agent docker section like:
pipeline {
parameters {
string(name: 'OS_PORT', defaultValue: '')
string(name: 'CONTAINER_PORT', defaultValue: '')
}
agent {
docker {
image 'someimage'
Thanks Daniel and Ishan!
--
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
Hi,
Is it possible to mix declarative and scripted pipeline syntax in one
Jenkinsfile ?
For example, there is no withRun() equivalent in the declarative syntax.
https://issues.jenkins-ci.org/browse/JENKINS-41581
Thanks,
Eric
--
You received this message because you are subscribed to the Goog
https://issues.jenkins-ci.org/browse/JENKINS-39748
On Thursday, 28 September 2017 18:49:04 UTC+8, Eric Tan wrote:
>
> Hi,
>
> Is there a way to prevent Jenkin from overriding the entrypoint specified
> in the container image?
> As shown below in the console output, Jenkins a
I think you are missing the volume mapping:
-v $HOST_VOLUME:/var/jenkins_home
On Friday, 29 September 2017 11:06:47 UTC+8, jorge alarcon wrote:
>
> Hello everyone,
> I am porting some old code I had for jenkins, version 1.X.X. For this I
> had a Dockerfile that looked like this:
>
> FROM jenki
Hi,
Is there a way to prevent Jenkin from overriding the entrypoint specified
in the container image?
As shown below in the console output, Jenkins adds "*--entrypoint cat*"
which overrides my own entrypoint.
$ docker run -t -d -u 1000:1000 -w
/var/jenkins_home/workspace/Test_Pipeline_master-
*while* simultaneously reducing the load on
> the SCM Server (one scan vs N polling)
>
> On Thu 28 Sep 2017 at 06:31, Eric Tan >
> wrote:
>
>>
>> Hi,
>>
>> Using Jenkins 2.79.
>>
>> Logged in as admin and navigate to Jenkins > MyJob > mast
Hi,
Using Jenkins 2.79.
Logged in as admin and navigate to Jenkins > MyJob > master (branch).
Trying to enable the "Poll SCM" checkbox but there is only view only mode
under View Configuration.
How do I go about to enable edit mode to select "Poll SCM" checkbox?
I understand that the older
Hi,
Logged in as admin and navigate to Jenkins > MyJob > master (branch).
Trying to enable the "Poll SCM" checkbox but there is only view only mode
under View Configuration.
How do I go about to enable edit mode to select "Poll SCM" checkbox?
Thanks,
Eric
--
You received this message