Question: Any jenkins experts in here?

Asked By
Asked At
2017-11-07 21:44:41

Found 15 possible answers.

User Answered At Possible Answer
dpsutton 2017-11-07 21:45:22 what's your problem? there was a change to checkout and tags that bit us recently if that's what you're dealing with not an expert but we dealt with that in particular
ghadi 2017-11-07 21:46:09 I'm trying to make a build trigger upon _either_ push to master _or_ open a PR. If I configure the hooks to be push events + open PR events, then I get duplicate builds when someone opens a PR. One build for when they push to their branch, another for when they open the PR.
seancorfield 2017-11-07 21:52:12 "reducers" not reduce -- or am I misunderstanding your response @pablore ?
kristian507 2017-11-07 22:03:20 where are you pulling from? GitHub offers refs for PRs; +:refs/pull/*/head
ghadi 2017-11-07 22:08:14 gitlab -> jenkins
kristian507 2017-11-07 22:11:06 ah, I don't think there's a setting to filter refs in the gitlab integration hmm, looks like you can filter refs on the Jenkins side... (which probably would be preferred anyway) the only way it'd work if all devs pushed to their own forks and PR'd back into upstream
bcbradley 2017-11-08 01:34:29 If you are in the loop, consider trying to push for moving zippers out as well-- it could use a serious implementation rework (in terms of protocols for instance).
seancorfield 2017-11-08 02:50:59 @bcbradley Anyone -- including you -- is welcome to create JIRA issues for such things. I have no dog in that particular "fight" :slightly_smiling_face:
qqq 2017-11-08 05:03:53 1. I'm using git. 4. How do I do this ? 3. I want to retrieve, from git, ALL versions of this server/scala.clj file 2. I have a file src/server/scala.clj
smith.adriane 2017-11-08 05:16:45 you can do git log -- src/server/scala.clj to see all the commits that changed that file will spit out a bunch of “_scala.clj” files in your current working directory git log --oneline -- src/server/scala.clj | awk '{print $1}' | while read commit_id; do git show $commit_id:src/server/scala.clj > "$commit_id"_scala.clj ; done and then git show :src/server/scale.clj to spit out just the contents of the file at that commit git log --online -- src/server/scala.clj will be more concise/greppable
qqq 2017-11-08 07:29:50 @smith.adriane was afk, resolved this issue (via stack overflow), but: 2. thanks for writing this out in detail 1. the commands look very similar
roklenarcic 2017-11-08 10:10:26 If I want a simple DB that's contained in a file, how does H2 compare to SQLite? Does anyone know pros/cons?
borkdude 2017-11-08 12:06:38 @roklenarcic FWIF Luminus also uses H2 in their docs: but if you want to migrate to another SQL db in the future, H2 might be the best option @roklenarcic However, I would also take a look at if you’re requirements are only Clojure data structures
roklenarcic 2017-11-08 12:13:42 thanks
pablore 2017-11-08 14:13:49 yeah I was talking about reduce. But a reducer is any function you can pass to reduce You can also see a reducer function as a function that takes a state and some value/action and returns an updated state. Like in redux.

Related Questions