hostPathVolume not mounting on Kubernetes pods(Dynamic Jenkins Agent)

2020-12-04 Thread Mk
*Environment: *
Jenkins - Version 2.235.5  (LTS) 
Kubernetes Jenkins Plugin - 1.27.7 
 

*K8s-Master & Worker Server Details:- *
OS - CentOS Linux release 7.9.2009 (Core) & Kernal - 
3.10.0-1160.6.1.el7.x86_64 
Docker Version - 19.03.12 
Client Version: v1.19.0 
Server Version: v1.19.0 

I am trying to mount a *hostPathVolume *through Jenkins Kubernetes-plugin 
*podTemplate 
*and when the pod gets kicked off via Jenkins master the path of my K8s 
worker not getting mounted on K8s pods(Jenkins Agent). 

I have the below podTemplate 

podTemplate(containers: [ 
containerTemplate(name: 'build', image: 'alpine/git', ttyEnabled: true, 
command: 'cat'), 
containerTemplate(name: 'test', image: 'maven:3.3.9-jdk-8-alpine', command: 
'cat', ttyEnabled: true), 
], 
volumes: [ 
hostPathVolume(mountPath: '/home/jenkins', hostPath: 
'/test-vol/abc/workspace'), 
] 
) { 
node ("jenkins-node") { 
stage('Code Checkout') { 
checkout([$class: 'GitSCM', branches: [[name: '*/master']], 
doGenerateSubmoduleConfigurations: false, extensions: [[$class: 
'CloneOption', depth: 0, noTags: false, reference: '', shallow: false, 
timeout: 120]], submoduleCfg: [], userRemoteConfigs: [[url: 
'ssh://userid@gerrit-server:29418/abc/repository']]]) 
} 
} 
node(POD_LABEL) { 
stage('Build') { 
container('build') { 
sh label: '', script: '''cd /home/jenkins/Jenkins_Job/project/src/ 
mvn clean install''' 
} 
stage('Test') { 
container('test') { 
sh label: '', script: '''cd /home/jenkins/Jenkins_Job/project/src/ 
mvn test''' 
} 
} 
} 
} 
} 
I expect the volume to be mounted in my pod, I have tried with *K8s v1.19.4* 
and *Kubernetes Jenkins Plugin - 1.27.0* but same result. Not sure what is 
causing the problem on *CentOS-7.9* K8s. Whereas the same is working 
perfectly on *CentOS - 8.2.2004 (Core) & 4.18.0-193.14.2.el8_2.x86_64 
kernal. *

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/73c67b12-bea5-4e9b-b51a-0acf83f1bd76n%40googlegroups.com.


Re: ANN: Jenkins 2020 Elections - Results

2020-12-04 Thread Baptiste Mathus
Congrats and thanks to the committee for the hard work!

Le ven. 4 déc. 2020 à 13:15, Arnaud Héritier  a écrit :

> congratulations !
>
> On Thu, Dec 3, 2020 at 11:52 PM Oleg Nenashev 
> wrote:
>
>> Dear all,
>>
>> We have finished the 2020 elections. On behalf of the Jenkins community
>> and the elections committee, we congratulate all newly elected board
>> members and officers! These roles are an essential part of Jenkins'
>> community governance and well-being, and we are excited to see contributors
>> taking these roles.
>>
>> We would like to thank all candidates who participated this year. We had
>> 9 governance board and 3 release officer candidates: Andrey Falko, Baptiste
>> Mathius, Ewelina Wilkosz, Frederic Gurr, Gavin Mogan, Justin Harringa, Mark
>> Waite, Marky Jackson, Steven Terrana, Victor Martinez, and Zhao Xiaojie
>> (Rick). Regardless of the results, all of them are awesome community
>> leaders who actively participate in the Jenkins project and represent its
>> users. Their contributions are instrumental to the project’s success, and
>> we highly appreciate them. Thank you!
>>
>> Election results, effective on Dec 03:
>>
>>-
>>
>>Gavin Mogan  and Marky Jackson
>> will join Kohsuke Kawaguchi, 
>> Ullrich
>>Hafner and Oleg Nenashev on the Jenkins Governance Board
>>
>>-
>>
>>Tim Jacomb  will become the new Release
>>Officer 
>>-
>>
>>Marky Jackson  will become
>>the new Events Officer 
>>(uncontested)
>>-
>>
>>Olivier Vernin  will continue in the role
>>of Infrastructure Officer
>> for another
>>term (uncontested)
>>-
>>
>>Daniel Beck  will continue in the
>>role of Security Officer
>> for another term
>>(uncontested)
>>-
>>
>>Mark Waite  will continue in the role
>>of Documentation Officer
>> for another
>>term (uncontested)
>>
>>
>> We also thank Alex Earl, Alyssa Tong, R. Tyler Croy and Oliver Gondža who
>> are stepping down from their roles this year. All of them have been
>> long-time Jenkins community leaders, and we are looking forward to keeping
>> working with them.
>>
>> Raw election results can be found here: Governance Board elections
>> , 
>> Release
>> Officer Elections
>> .
>> If you are interested to learn more, please stay tuned for the announcement
>> blogpost which should land soon (pull request
>> ). There is also
>> a retrospective document available here
>> ,
>> any feedback and suggestions will be appreciated!
>>
>>
>>
>> Best regards,
>>
>> Jenkins 2020 Elections Committee
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/CAPfivLCpDDv57%3DmUvT-CnfZK2a%3DseJAHV9a_FLf%2BmJxWZoq%3D2w%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> Arnaud Héritier
> Twitter/Skype : aheritier
>
> --
> 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
> https://groups.google.com/d/msgid/jenkinsci-users/CAFNCU-9uXd3WPqfYoG4cM%2BzufdoiVPBUQrtKA0FpBLNoYBj-QA%40mail.gmail.com
> 
> .
>

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS798TNsHfCdFuOBb%2BQoNBd9_WQ2%3DqdVHTaSbS20VFeGmg%40

Re: loop over branches

2020-12-04 Thread Arnaud bourree
Hello,

I've setup something similar.
We have one test platform and like you want to run tests on per branch.
I use lock resource plugin to run tests in exclusive stage.

Regards.

Arnaud

Le mar. 1 déc. 2020 à 22:11, jeremy mordkoff  a
écrit :

> We have too many tests, so we have broken them up into three groups. One
> group that runs after each checkin and one group that runs once a day on
> any branch with changes and one group that I would like to limit to one
> instance at a time but still test any active branch.
>
> What is the best way to structure such a job? I am thinking a daemon type
> job that just iterates over branches and kicks off the real test job and
> then waited. The daemon would be sitting idle for almost 6 hours and then
> busy for 10 seconds, and then idle again, which seems slightly wasteful but
> at least this way jenkins would be self managing and I could tweak the
> daemon side to have priorities if I wanted, e.g. if master had changes and
> hadn't run in 36 hours, run it next, then go back to rotating fairly across
> the branches with changes.
>
> I can't have just one long running job that does it all because then my
> test results would get mixed together (I think) and I would not have
> red/yellow/blue for each branch.
>
> Any other ideas?
>
> --
> 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
> https://groups.google.com/d/msgid/jenkinsci-users/bcf0f35d-ed37-4ef6-8445-e628373c7817n%40googlegroups.com
> 
> .
>

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/CAESUf_ArDwSr%3DjAHbYbQD0kR0RkOReDwds3gSAuJuoOBK57sXw%40mail.gmail.com.


Multiple Artifacts in Nexusartfactuploader

2020-12-04 Thread Manoj Chander
Hi greetings everyone ,

My project is creating some 60 jars with diff names  , I want to push them  
to nexus i could not use wildcard (.jar) build fails seems  
nexusArtifactUploader doesnt suport wildcard.

how can i achieve this can i create a loop ? 

is there a better way to do this .


nexusArtifactUploader artifacts: [
[artifactId: "testservices", classifier: '', file: 
"/server/services/deploy/"*.jar', type: 'jar']
  ],
  credentialsId:  NEXUS_CREDENTIAL_ID,
  groupId: "$group",
  nexusUrl: NEXUS_URL,
  nexusVersion: 'nexus3',
  protocol: 'https',
  repository: NEXUS_REPO ,
  version: "$nexus_version${BUILD_NUMBER}-SNAPSHOT"
}
}



-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/a16fb328-cee8-494d-8037-b8678db2023fn%40googlegroups.com.


Is it possible to enlarge the multibranch pipeline events log?

2020-12-04 Thread Jay

Hi,

i want to debug a problem where opening a GitHub PR doesn't always trigger 
a build in a "GitHub organization folder" type of job.
Unfortunately the "multibranch pipeline events" log that would help me to 
see how a github webhook was processed, doesn't reach far enough back to 
show me the event processing i want to see. (users are in a different time 
zone and sometimes i can have a look only some hours later)

Is there a way to configure the length of this log?

Thanks for help.

Jay

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/ecacd881-caae-46b9-9b33-001a69a22535n%40googlegroups.com.


Re: ANN: Jenkins 2020 Elections - Results

2020-12-04 Thread Arnaud Héritier
congratulations !

On Thu, Dec 3, 2020 at 11:52 PM Oleg Nenashev 
wrote:

> Dear all,
>
> We have finished the 2020 elections. On behalf of the Jenkins community
> and the elections committee, we congratulate all newly elected board
> members and officers! These roles are an essential part of Jenkins'
> community governance and well-being, and we are excited to see contributors
> taking these roles.
>
> We would like to thank all candidates who participated this year. We had 9
> governance board and 3 release officer candidates: Andrey Falko, Baptiste
> Mathius, Ewelina Wilkosz, Frederic Gurr, Gavin Mogan, Justin Harringa, Mark
> Waite, Marky Jackson, Steven Terrana, Victor Martinez, and Zhao Xiaojie
> (Rick). Regardless of the results, all of them are awesome community
> leaders who actively participate in the Jenkins project and represent its
> users. Their contributions are instrumental to the project’s success, and
> we highly appreciate them. Thank you!
>
> Election results, effective on Dec 03:
>
>-
>
>Gavin Mogan  and Marky Jackson
> will join Kohsuke Kawaguchi, 
> Ullrich
>Hafner and Oleg Nenashev on the Jenkins Governance Board
>
>-
>
>Tim Jacomb  will become the new Release
>Officer 
>-
>
>Marky Jackson  will become the
>new Events Officer 
>(uncontested)
>-
>
>Olivier Vernin  will continue in the role
>of Infrastructure Officer
> for another
>term (uncontested)
>-
>
>Daniel Beck  will continue in the role
>of Security Officer 
>for another term (uncontested)
>-
>
>Mark Waite  will continue in the role
>of Documentation Officer
> for another
>term (uncontested)
>
>
> We also thank Alex Earl, Alyssa Tong, R. Tyler Croy and Oliver Gondža who
> are stepping down from their roles this year. All of them have been
> long-time Jenkins community leaders, and we are looking forward to keeping
> working with them.
>
> Raw election results can be found here: Governance Board elections
> , 
> Release
> Officer Elections
> .
> If you are interested to learn more, please stay tuned for the announcement
> blogpost which should land soon (pull request
> ). There is also a
> retrospective document available here
> ,
> any feedback and suggestions will be appreciated!
>
>
>
> Best regards,
>
> Jenkins 2020 Elections Committee
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CAPfivLCpDDv57%3DmUvT-CnfZK2a%3DseJAHV9a_FLf%2BmJxWZoq%3D2w%40mail.gmail.com
> 
> .
>


-- 
Arnaud Héritier
Twitter/Skype : aheritier

-- 
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 
https://groups.google.com/d/msgid/jenkinsci-users/CAFNCU-9uXd3WPqfYoG4cM%2BzufdoiVPBUQrtKA0FpBLNoYBj-QA%40mail.gmail.com.