Re: Git Plugin Checkout From Branch With Tag

2021-04-16 Thread Eric Fetzer
That's excellent news Dirk! That means the process I want to follow will work perfectly. Since I tag as I checkout from a branch, my tag will apply to that entire branch at that point in time. That way, when I later check out by tag, I will have that branch at that point in time. In the past,

Re: Git Plugin Checkout From Branch With Tag

2021-04-16 Thread 'Dirk Heinrichs' via Jenkins Users
Am Donnerstag, den 15.04.2021, 08:47 -0600 schrieb Eric Fetzer: > So here's what blows my mind about a tag. If I go to the tag in > GitHub Enterprise, it has a .zip and .tar.gz associated with it. If > I unpack that file, it has the entire contents of the repository in > it. That seems like a

Re: Git Plugin Checkout From Branch With Tag

2021-04-15 Thread Eric Fetzer
>>>>>>>>>> there. Can you explain that to me because I have to specify the >>>>>>>>>> branch as >>>>>>>>>> well as the tag? >>>>>>>>>> >>>>>>>>>>

Re: Git Plugin Checkout From Branch With Tag

2021-04-15 Thread Mark Waite
;>>> You can checkout a point in time by checking out a specific SHA-1 hash >>>> that is the most recent commit before that point in time. See >>>> https://stackoverflow.com/questions/6990484/how-to-checkout-in-git-by-date >>>> . >>>> >>>> >>&

Re: Git Plugin Checkout From Branch With Tag

2021-04-15 Thread Eric Fetzer
gt;> https://stackoverflow.com/questions/6990484/how-to-checkout-in-git-by-date >>> . >>> >>> >>>> >>>> >>>> Sent from my T-Mobile 4G LTE Device >>>> >>>> >>>> Original message >

Re: Git Plugin Checkout From Branch With Tag

2021-04-15 Thread Mark Waite
commit before that point in time. See >> https://stackoverflow.com/questions/6990484/how-to-checkout-in-git-by-date >> . >> >> >>> >>> >>> Sent from my T-Mobile 4G LTE Device >>> >>> >>> Original message

Re: Git Plugin Checkout From Branch With Tag

2021-04-15 Thread Eric Fetzer
https://stackoverflow.com/questions/6990484/how-to-checkout-in-git-by-date > . > > >> >> >> Sent from my T-Mobile 4G LTE Device >> >> >> Original message ---- >> From: Mark Waite >> Date: 4/14/21 1:44 PM (GMT-05:00) >> To

Re: Git Plugin Checkout From Branch With Tag

2021-04-15 Thread Eric Fetzer
- >> From: Mark Waite >> Date: 4/14/21 1:44 PM (GMT-05:00) >> To: Jenkins Users >> Subject: Re: Git Plugin Checkout From Branch With Tag >> >> >> >> On Wed, Apr 14, 2021 at 10:22 AM Eric Fetzer >> wrote: >> >>> Well if I don

Re: Git Plugin Checkout From Branch With Tag

2021-04-14 Thread Mark Waite
> > Original message > From: Mark Waite > Date: 4/14/21 1:44 PM (GMT-05:00) > To: Jenkins Users > Subject: Re: Git Plugin Checkout From Branch With Tag > > > > On Wed, Apr 14, 2021 at 10:22 AM Eric Fetzer > wrote: > >> Well if I don't tell it

Re: Git Plugin Checkout From Branch With Tag

2021-04-14 Thread eric.fetzer
From: Mark Waite Date: 4/14/21 1:44 PM (GMT-05:00) To: Jenkins Users Subject: Re: Git Plugin Checkout From Branch With Tag On Wed, Apr 14, 2021 at 10:22 AM Eric Fetzer wrote:Well if I don't tell it what branch to get, how will it get the right branch?  Sorry, Github is a paradigm

Re: Git Plugin Checkout From Branch With Tag

2021-04-13 Thread eric.fetzer
: Mark Waite Date: 4/13/21 7:29 PM (GMT-05:00) To: Jenkins Users Subject: Re: Git Plugin Checkout From Branch With Tag As far as I can tell, you didn't provide the context of the old conversation.  The steps you've attempted and the context where you're trying those steps are not clear to me

Re: Git Plugin Checkout From Branch With Tag

2021-04-13 Thread Mark Waite
As far as I can tell, you didn't provide the context of the old conversation. The steps you've attempted and the context where you're trying those steps are not clear to me. The comments that follow are my guesses of things that might help you. If you're using Jenkins Pipeline and want to

Re: Git Plugin Checkout From Branch With Tag

2021-04-13 Thread Eric Fetzer
Tried a bunch more stuff using Git Parameters: https://plugins.jenkins.io/git-parameter/ Again, I can checkout from the branch, but not using the tag. I set a git parameter for branch and then put it in the branch specifier and that worked. I added another for tag, then put that in the same

Git Plugin Checkout From Branch With Tag

2021-04-13 Thread eric....@gmail.com
OK, I think I've tried everything in this OLD conversation, but none of them work. I have no issues checking out from a branch using branch specifier. I've tried adding on to the specifier: ${my_branch} tags/${my_tag}. Have also added another branch and used this sort of thing (as well as