|
Trigger Jenkins builds by pushing to Github | Four Kitchens[^]
From a Google search of “github jenkins build on push”.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
Jenkins is pretty easy
1) Java
2) Jenkins - Jenkins installation and setup - Installing Jenkins - note the unlock instructions towards the bottom of the page
3) Any Jenkins plugins you need (Can't remember if Git is pre-installed as a Repo integration) - there are two ways you can integrate any repo, poll a branch for changes (loose integration) or a tighter integration where you use the hooks from your repo to 'message' Jenkins .. I suggest go for the loose one first. If you dont have a lots of Devs committing at once, there shouldnt be any issues
4) Write a Classic or Pipeline job ...
5) If you want to do testing on another machine (and it seems you do), set that up as a 'Slave' - their terminology, not mine, we preferred 'Agent' where I used to work with it. If you point a browser on the 'Agent' machine at Jenkins in the Build or Jenkins Server, you can download the 'Agent' kit directly
I can help when you're stuck or need words of wisdom
|
|
|
|
|
Garth J Lancaster wrote: Jenkins is pretty easy That depends on the language you're using.
I haven't used it in recent years, but a few years ago you needed a few plugins for C# builds.
For code coverage you needed Cobertura, which isn't supported by VS, so you needed some command line utility to convert the VS output to Cobertura and publish that in Jenkins.
But then came the jenkinsfiles which let you write everything using Groovy and about half of those plugins didn't support this.
All in all, "easy" isn't the word I'd use.
|
|
|
|
|
er - ok .. I had C# builds running on a 'headless' server, Ruby, Kotlin builds, as well as C++
Sander Rossel wrote: For code coverage you needed Cobertura, which isn't supported by VS, so you needed some command line utility to convert the VS output to Cobertura and publish that in Jenkins. hmm, I haven't come across that one
|
|
|
|
|
What type of project is it ?
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
Why Jenkins? It is not native to VS or Microsoft at all, and "can" be a big PITA to setup and configure and "get right".
We use Microsoft DevOps (used to be TFS). Is this something you would consider? Do you have a specific use case that needs Jenkins?
|
|
|
|
|
I've setup a test TeamCity build server in a couple of hours. (I also look at Azure DevOps and it is similar)
It should be more or less identical to Jenkins.
Tell where your source code is (git), setup a few build steps (what/how to compile, what/how to test... ) and triggers (on commit/push, on pull-request, scheduled...) and let it works its magic.
I'd rather be phishing!
|
|
|
|
|
we used TeamCity at another shop I worked at, with great success.
But honestly, DevOps now is great and integrates with VS 2019 and Git completely. no major issues to speak of.
|
|
|
|
|
Hey there. I couldn't recover my old username wizardzz, so I created this one.
What's new?
|
|
|
|
|
hiya.
i'm currently burning away a bit of my life playing a post-apoc video game (Mad Max) because it already feels like the world is going to hell, so at least I will be entertained while it's coming undone.
Real programmers use butterflies
|
|
|
|
|
Aren't the admins supposed to help with that sort of thing?
Also, welcome back
|
|
|
|
|
Wizardzz wrote: Aren't the admins supposed to help with that sort of thing? You releasing the nick could help too
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
|
Cheater
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
why don't ask the hamster to recover it?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
|
"This is my first gig, I'm actually pretty nervous... But what's the worst that could happen, right? I could f***ing die up here man."
Never forgot that joke.
Welcome back man!
|
|
|
|
|
holy cow, wow. well thank you!
|
|
|
|
|
VVizardzz wrote: What's new? Your username.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
Weren't you in Chicago, if so were you affected by the crap that took place a couple of weeks ago?
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Do you mean covid, the protests, or the looting?
Looting made it to my neighborhood, hit the Walgreeens and clothing store down the street.
The looting was mostly downtown for one night and then the southside, southwest side, west side.
|
|
|
|
|
Sorry I meant the looting/vandalism. We had some vandalism in our area, mostly broken windows on businesses (mostly liquor stores) and cars.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
|
Looks like Dubai.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
"... artificial rain, a fake moon, robotic maids, ..."
Run that second one past me again, will you?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|