Weird bug in Calculate Changelog behavior

2017-12-21 Thread jbrooks
Hi all- I'm using the "Calculate Changelog Against a Specific Branch" additional behavior, and I've used the GIT_PREVIOUS_SUCCESSFUL_COMMIT env variable. However, I'm getting this error in my build: Using 'Changelog to branch' strategy. fatal: bad revision '^origin/$GIT_PREVIOUS_SUCCESSFUL_COMM

Re: Weird bug in Calculate Changelog behavior

2017-12-21 Thread jbrooks
Hmm, that's what I was afraid of! Darn my novel approaches! *shakes fist* Yeah, I'm looking for a way to make sure that, for manual builds, I can still generate changelogs for branches. It's possible there's a more idiomatic way to do this and I'm just not aware of it. Thanks! Jack On Thursday

Create and push new git branch?

2018-08-07 Thread jbrooks
Hi folks, I've googled extensively, but I haven't seen any documentation or answers on how to create a new git branch in Pipeline. I must be missing something obvious, but the Git plugin page doesn't indicate anything other than checking out code with credentials. Has anyone here used Jenkins t

Want to get branch or ref string from Github Web Hook on Build

2017-08-08 Thread jbrooks
Hi all, I have my GitHub web hook working on a Pipeline job, which is great! I looked at the currentBuild object and my env variables, though, and I don't appear not have access to the branch name, or ref string (e.g. refs/heads/master). I know that the ref is sent as part of a payload (https:

Checking if params.FOO is undefined

2017-10-19 Thread jbrooks
Hi all, Let's say I have a Jenkinsfile for a job that is normally built with Build Parameters, and so has params.FOO in it. Then let's say that I want to also be able to automatically build this using a ultibranch pipeline job. Obviously, params.FOO will be undefined, causing the job to fail;

google-login user restriction

2016-10-24 Thread jbrooks
Hi all, I've been researching using the Google Login plugin to authenticate users in a specific domain; however, I don't see any documentation or posts that indicate that I can make access control any more granular than that. I

Re: google-login user restriction

2016-10-24 Thread jbrooks
Aha! My apologies. It looks like matrix-based security DOES work with the Google Login Plugin! Excellent. Jack On Monday, October 24, 2016 at 9:26:32 AM UTC-4, jbr...@snapapp.com wrote: > > Hi all, > > I've been researching using the Google Login plugin >

Amazon EC2 instance dies on installing Java

2016-12-05 Thread jbrooks
Hi all, I'm using the Amazon EC2 plugin to create new agents. I've set it up to use the Ubuntu 16.04 AMI. Security groups, availability zones, and remote user (ubuntu) are all correct. The EC2 key pair is correct and successfully connects on testing. I specified that the root prefix should be `

Git Plugin doesn't pull from repo .git url

2016-12-20 Thread jbrooks
Hi all, I'm running an issue when I try to use the repository URL (the one used for `git clone`) of a private project in the Repository URL field: > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url g...@github.com:f

Docker Build & Publish using --force=true in Pipeline?

2017-01-16 Thread jbrooks
Hi all, I'm running into an issue when executing a job to build and publish an image to a registry: + docker tag --force=true foo:tag foo:tag unknown flag: --force See 'docker tag --help'. The relevant bit from my Jenkinsfile: node { stage('deploy'){ git branch: 'feature/branch', credent

Re: Docker Build & Publish using --force=true in Pipeline?

2017-01-17 Thread jbrooks
All right, I was incorrect about one thing- this was NOT due to Docker Build & Publish, but Docker Pipeline (formerly CloudBees Docker Pipeline). Supposedly, this was also resolved back in 1.4; I have 1.9.1. Can anyone think of why I'm experiencing this issue in Pipeline? Thanks! Jack On Monda

Re: Docker Build & Publish using --force=true in Pipeline?

2017-01-19 Thread jbrooks
Hi David! I'm not sure that follows. According to the plugin page (https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Docker+Pipeline+Plugin), v1.4 includes a change to "Handle recent deprecation of docker tag --force", so I've got some reason to believe that it doesn't just run docker comm

Re: Docker Build & Publish using --force=true in Pipeline?

2017-01-20 Thread jbrooks
Hi Nicolas, Because I use the Docker Pipeline plugin in conjunction with the Amazon ECR plugin to push images to the Amazon ECS registry, so it saves me another few steps there. At this point, I might as well not use Pipeline (which is what I'm doing while I figure out a solution to this). Che