"Team-folder" multibranch pipelines for github

2019-08-06 Thread David Karlsen
Bitbuckets offers "teamfolders" - which are multibranch pipelines around the project scope in bitbucket. One project contains several repos, each repo has branches - they have Jenkinsfile - you get jobs for several repos by doing just one manual configuration. For github I don't see a similar appr

Re: "Team-folder" multibranch pipelines for github

2019-08-06 Thread David Karlsen
given Jenkins org folder (using ghbs plugin, yes). > > Cheers > > Le mar. 6 août 2019 à 13:10, David Karlsen a > écrit : > >> Bitbuckets offers "teamfolders" - which are multibranch pipelines around >> the project scope in bitbucket. One project contains s

Re: "Team-folder" multibranch pipelines for github

2019-08-06 Thread David Karlsen
to change the actual Jenkinsfile to have some team-custom name - which works - but is a bit quirky. tir. 6. aug. 2019 kl. 14:34 skrev David Karlsen : > Hi - yes, list repos via teams, or filter repos based on team-access level > - but the marker-file approach should work equally well - wh

kubernetes-pipeline-plugin when using declarative pipelines?

2019-09-03 Thread David Karlsen
Am I right in that kubernetes-pipeline-plugin can only be used with scripted pipelines - not declarative ones? -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe

Re: kubernetes-pipeline-plugin when using declarative pipelines?

2019-09-03 Thread David Karlsen
t; > > https://github.com/jenkinsci/kubernetes-plugin/blob/master/README.md#declarative-pipeline > > It can be also used in declarative pipelines. > > Regards > > On Tue, Sep 3, 2019 at 11:56 AM David Karlsen > wrote: > >> Am I right in that kubernetes-pipeline-plugin c

Re: k8s plugin

2019-12-03 Thread David Karlsen
It would be super useful agent and templates could come from workflow libraries so that they could be shared man. 2. des. 2019, 17:16 skrev Carlos Sanchez : > No, It has to live in the same repo > > On Mon, Dec 2, 2019, 16:39 YD wrote: > >> Hi all >> >> in kubernetes plugin i want to use yaml th

Kubernetes plugin + vanilla node/agent - classcast exception

2020-05-07 Thread David Karlsen
I have a pipeline which uses the Kubernetes Jenkins plugin: pipeline { agent { kubernetes { cloud 'icp-global' defaultContainer 'node' // customWorkspace '/workspace' yamlFile 'buildPod.yaml' } but would like to run another step outside of containers, like: sta

Git push back changes

2013-09-02 Thread David Karlsen
I'm having problems getting jenkins to push back the merged branch to origin repo. (everything else works but the push back to the repository). Looks like this issue: http://jenkins-ci.361315.n4.nabble.com/Git-publisher-fails-to-push-td4659177.html I'm running: -bash-3.2$ cat git-client/META-INF/

Re: Git push back changes

2013-09-04 Thread David Karlsen
elp you, since there is still some > reason that your publish attempt is failing. You'll need to do more > investigating to understand why publish works for others and not in the > case you're testing. > > Mark Waite > > -- > *From:

Re: Git push back changes

2013-09-04 Thread David Karlsen
And upgraded git plugin to 1.5.0. Does it look right? 2013/9/4 David Karlsen > My config: > Repository url: > http://username:credenti...@test.fswiki.evry.com:7990/scm/tac/tac-jfr-server.git > name: stash > branches to build: > stash/topic/** > stash/dev > >

Re: Git push back changes

2013-09-05 Thread David Karlsen
to have a > number of rough spots with the jgit implementation. > > Mark Waite > > -- > *From:* David Karlsen > *To:* jenkinsci-users@googlegroups.com > *Sent:* Wednesday, September 4, 2013 8:24 AM > *Subject:* Re: Git pus

Re: Git push back changes

2013-09-05 Thread David Karlsen
- null pointer > exception > > The git plugin 2.0 beta jgit implementation is a significant improvement > over the jgit implementation in git plugin 1.5.0, but I don't think it is > ready for production yet. > > Mark Waite > > -- > *Fr

Re: Git push back changes

2013-09-06 Thread David Karlsen
Yes - native git works like a charm - thanks! Any idea if the jgit imp. will be fixed to address this? 2013/9/5 David Karlsen > Yeah - I'm left with some BOFH operating Jenkins - and it's installed on > an ancient RHEL5 box which have no git binaries. > We can compile it

Re: Dependencies in Maven builds all broken after upgrade to 1.482, fixed by downgrade to 1.480

2012-09-25 Thread David Karlsen
I observe the same. 2012/9/25 Keith : > It looks as if this is a known issue: > > https://issues.jenkins-ci.org/browse/JENKINS-15237 > > ~ kc > > > On Tuesday, September 25, 2012 11:52:05 AM UTC-7, Keith wrote: >> >> I am observing the same behavior, and makes any version of Jenkins above >> 1.480

Switching from bleeding edge to LTS?

2012-10-04 Thread David Karlsen
Hi. We currently run latest and greatest of Jenkins (and plugins), but are experiencing unstability from time to time, so I'm thinking of switching to LTS. Can I just downgrade my RPM to the LTS one and everything should still run smoothly? What about all the plugins we've currently installed (whi

Re: Switching from bleeding edge to LTS?

2012-10-04 Thread David Karlsen
OK, then I think that if I: 1) switch my latest&greatest plugin update to point to the stables now 2) stop upgrading core until LTS reaches that version or higher I should be in the clear Thank you for the response. 2012/10/4 teilo : > Downgrading to an earlier lts may not work if the mainline

Re: updated hot list in Recache Inc

2012-05-16 Thread David Karlsen
Please respect our mailing policies and do not spam the list. Failing to do so very often leads to the rcpt. to rule both the end-company and the recruiting one as not serious. 2012/5/15 Ramesh g > Hello Partner, > > This is Updated *HOTLIST* of *ReCache Inc*. Please send suitable > requirements

Re: Archiving artifacts takes 9 hours

2012-08-20 Thread David Karlsen
There is issues in jira for it - and a workaround: https://issues.jenkins-ci.org/browse/JENKINS-3922 2012/8/20 David Hreczany > Hi Jenk

Re: What are the difference between Jenkins and HP ALM?

2014-08-13 Thread David Karlsen
HP ALM is the slowest, crappiest, IE-focused, difficult workflow, impossible to integrate well into, piece of s*** software I've ever used. Be warned! I'd warmly welcome about any test tool/bugtracking tool you can get your hands on other than this! 2014-08-13 18:58 GMT+02:00 Walter Kacynski : >

Re: Jenkins with stash

2014-09-12 Thread David Karlsen
You might also want to use this stash plugin to be able to push jenkins jobs on changes, rather than polling the stash repo at regular intervals: https://marketplace.atlassian.com/plugins/com.nerdwin15.stash-stash-webhook-jenkins 2014-09-12 8:39 GMT+02:00 Benjamin Lau : > Just like any other git

Problem with console timestamper plugin when using workflow

2016-01-25 Thread David Karlsen
Hi - I'm moving over to jenkins workflow - but the timestamper does not seem to work here? I have this config: node ('docker') { wrap([$class: 'TimestamperBuildWrapper']) { . }} and it fails with: java.lang.UnsupportedOperationException: no known implementation of class jenkins.tasks.Simpl

No workspace variable during workflow / pipeline build?

2016-01-27 Thread David Karlsen
I have this build definition: node ('docker') { wrap([$class: 'TimestamperBuildWrapper']) { stage 'checkout' checkout scm: [$class: 'GitSCM', branches: [[name: '*/develop']], userRemoteConfigs: [[url: 'ssh://git@myserver:port/myrepo.git']]] stage 'unit-test' env.JAVA_HOME="${to

Re: No workspace variable during workflow / pipeline build?

2016-01-27 Thread David Karlsen
und this when you select "env" under Global Variables in the >> snippet generator: >> >> The following variables are currently unavailable inside a workflow >> script: >> >>- EXECUTOR_NUMBER >>- NODE_LABELS >>- WORKSPACE >&g

Bitbucket plugin vs plain postCommit hooks?

2016-01-31 Thread David Karlsen
Whats the difference between the bitbucket plugin: https://wiki.jenkins-ci.org/display/JENKINS/BitBucket+Plugin and https://marketplace.atlassian.com/plugins/com.nerdwin15.stash-stash-webhook-jenkins/server/overview + jenkins git plugin? Any whats the purpose of having an explicit triggers

Multistage / single stage and currency question for pipeline/workflow

2016-01-31 Thread David Karlsen
I have these three distinct stages [1] that have concurrency 1 as they should only run one and one - however they are also consumers of each other ( a chain of events). This strongly indicates that it should be a single stage (which would solve my problem) - but at the same time they are indepe

Re: Jenkins 2.0 alpha release available

2016-03-26 Thread David Karlsen
Hm - I followed those links and found https://jenkins.io/doc/pipeline/steps/email-ext/#emailext-extended-email but got: "java.lang.NoSuchMethodError: No such DSL method 'emailext' found among [archive, bat, build, catchError, checkout, checkpoint, deleteDir, dir, dockerFingerprintFrom, dockerFinge

Re: Jenkinsfile Pipeline Language Complete Reference

2016-04-11 Thread David Karlsen
https://yourJenkinsHost/workflow-cps-snippetizer/dslReference contains a reference - and there you find a link for a gdsl which can be added to your project in IDEA [1] [1] http://www.tothenew.com/blog/gdsl-awesomeness-introduction-to-gdsl-in-intellij-idea/ 2016-04-11 13:24 GMT+02:00 Matt Friedma

Good sources for Jenkins script library?

2016-04-20 Thread David Karlsen
I am currently investigating usage of Jenkins pipeline script library looking at https://jenkins.io/blog/2015/12/03/pipeline-as-code-with-multibranch-workflows-in-jenkins/ https://www.cloudbees.com/blog/jenkins-workflow-using-global-library-implement-re-usable-function-call-secured-http-endpoint a

Re: Git Plugin: merge before build not working?

2016-04-22 Thread David Karlsen
Anyone got this to work? I'm running this in context of the multibranch pipeline plugin - so I'd like to get whatever branch is triggered to merge into an integration-branch before building, then pushing back to the integration branch if the build succeeds. torsdag 7. april 2016 03.13.37 UTC+2

Re: v2 pipeline Deploy step only for branch master.?

2016-05-07 Thread David Karlsen
You can use the variable ENV.BRANCH_NAME to determine this 6. mai 2016 10:15 p.m. skrev "Mike Caspar" : > > In a multi-branch scenario, are there some examples anywhere of how to > make sure the deploy happens only from the master branch? > > I am guessing I need to build an if statement of some s

Re: Mulit-Branch Project Plugin and Post-build action "Publish artifacts in Maven repository (deploy)"

2016-05-24 Thread David Karlsen
afaik the post-deploy step is specific to a maven-type job specifically, so you just need to run a normal maven command. You could also try this option http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#deployAtEnd to do it at the very end of the maven build. 2016-05-24 20:14 GMT

Re: maven projects become slow after a couple of months

2016-05-25 Thread David Karlsen
Are you keeping a lot of build history? 25. mai 2016 11:21 skrev "Jorg Heymans" : > Hi, > > I reported this a couple of months ago, is anyone else seeing this ? > > https://issues.jenkins-ci.org/browse/JENKINS-34233 > > Several times already we have noticed that the build time of certain of > our

github teamfolder plugin

2018-10-04 Thread David Karlsen
https://plugins.jenkins.io/github-organization-folder says it is obsolete. what replaces it? why is it obsolete? -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscrib

Re: How can we achieve the same effect as Jenkins 1's "Deploy artifacts to Maven repository" with Jenkins 2's pipelines?

2019-01-17 Thread David Karlsen
I use the option deployAtEnd in the maven plugin to achieve this Den tor. 17. jan. 2019, 16:59 skrev Cyrille Le Clerc : > Hello AAron, > > This capability is niot av > > On Wednesday, January 16, 2019 at 5:16:22 PM UTC+1, Aaron Digulla wrote: >> >> Hello, >> >> For releases, I'd like to build and

[no subject]

2019-01-18 Thread David Karlsen
I have a global workflow lib, and my scripts work just file, like the "icpDeploy" one listed in [1] - but I cannot get the docs up in https://myjenkins/pipeline-syntax/globals . According to [2] the naming looks correct. At some point in time this was working - but no longer - did something change

Re: How to best define .m2 local maven repo path in multi-branch projects/Jenkinsfile?

2017-03-16 Thread David Karlsen
I keep it in the workspace so it disappears with it Den tor. 16. mar. 2017, 12:39 skrev Nazarii Bardiuk : > We also have similar situation with multiple branches and the same maven > snapshot version. > Stefan, did you manage to run builds for separate branches without version > clashes? > > On F

Re: [ANN] GitHub Branch Source 2.3.0 now with tag discovery

2017-11-07 Thread David Karlsen
Will the stash/bitbucket flavour follow? 2017-11-07 15:47 GMT+01:00 Stephen Connolly : > It took a long time to get this merged, but the 2.3.0 release now supports > tag discovery. > > Release notes are here: https://wiki.jenkins.io/ > display/JENKINS/GitHub+Branch+Source+Plugin > > Party! > > --

Re: Archive multiple artifacts with same name

2016-08-30 Thread David Karlsen
I see the archive DSL have less options (fingerprint) than the wrapper-based version - should they become aligned? 2016-08-29 9:14 GMT+02:00 Sverre Moe : > That worked. > > I removed > step([$class: 'ArtifactArchiver', artifacts: '*.rpm', excludes: null, > fingerprint: true, onlyIfSuccessful: tru

locks vs stage w/concurrency

2016-09-21 Thread David Karlsen
I have a question on locks vs stage w/ concurrency: lock(inversePrecedence: true, resource: 'myLock') { // some block } vs stage(name:'myStage',concurrency:1) { // some block } With stages newer builds would "win" over older ones while waiting to run so that unnecessary was avoided, how

Re: locks vs stage w/concurrency

2016-09-21 Thread David Karlsen
Thanks - last I checked it was not finished - now it is! :) 2016-09-21 23:37 GMT+02:00 Michael Kobit : > I believe the stage step with concurrency has been deprecated so I would > avoid using that. > > It sounds like you are looking for https://issues.jenkins-ci.org/ > plugins/servlet/mobile#issu

Re: Pipeline DSL, IntelliJ, and maven

2017-03-03 Thread David Karlsen
Not to my knowledge - I asked JetBrains about it - but you can also add a file with a .gdsl extension with the DSL in it AFAIR. 2017-03-03 20:38 GMT+01:00 Justin Knowles : > Cool, that worked, thanks Daniel. Last question (I think) - is there a way > to have autocompletion work in other existing

Tool installers - updated versions

2015-01-28 Thread David Karlsen
in manage->configure system->jdk->jdk installations 8u25 is the latest available version (while u31 is the latest available release from Oracle). Likewise for a maven installation 3.2.2 is the latest available. Has the backend-crawler died? https://github.com/jenkinsci/backend-crawler -- -- Dav

calling builder template and portallocator plugin from workflow plugin

2015-09-01 Thread David Karlsen
Hi. How can I call the port-allocator plugin and builder templates from the workflow plugin dsl? -- 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

Re: calling builder template and portallocator plugin from workflow plugin

2015-09-06 Thread David Karlsen
No-one? tirsdag 1. september 2015 12.58.07 UTC+2 skrev David Karlsen følgende: > > Hi. > > How can I call the port-allocator plugin and builder templates from the > workflow plugin dsl? > -- You received this message because you are subscribed to the Google Groups "J

Re: Publish tar.gz file to Nexus

2015-10-14 Thread David Karlsen
The assembly plugin is also an alternative: http://maven.apache.org/plugins/maven-assembly-plugin/ (which can do creation of the archive, as well as attach it to he build). 2015-10-14 9:59 GMT+02:00 Karl Heinz Marbaise : > Hi, > > simplest solution is to use build-helper-maven-plugin > > http://w

Re: Publish tar.gz file to Nexus

2015-10-14 Thread David Karlsen
Ah sorry - I just saw the one maven plugin mentioned and found the other better IMHO alternative. Yes - they are indeed maven plugins. 2015-10-14 22:29 GMT+02:00 Daniel Beck : > > On 14.10.2015, at 22:23, Jason Tran wrote: > > > I tried to search for these plugins under Available tab of Jenkins