I think I'm not explicitly going to include anything to deal with this in v1 since the v1 resource types "probably won't" break for no reason, but I think we likely do need to have more formal tools for it soon. I roughly imagine:
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 1 2015
Aren't 2xx statuses considered "success" in HTTP protocol, despite values of "xx"?
It seems the change from setting the result to FAIL to throwing an exception in the case where the server does not return 200 is skipping some code after the call that was overriding the result to WAITING in the case where a build was set to wait for result. Probably this was a bug in the case where the result was already set to fail.
I had the same problem and tracked it down to the following facts:
Although the return code check against exactly 200 has always been there, integration with jenkins was working as expected before rPd735c7adf2d5897d3ae08f3aba12774030c0d3b1
Any updates on this? I've still got these annoying audits in my queue and they continue to frustrate me.
Sep 30 2015
Off hand, what do you want/need this information for? We have little 'analytics' in Phabricator and likely won't for some time. T1562 covers that in better detail
No
@epriestley Any jenkins job that has to be built with parameters returns a 201 created, https://issues.jenkins-ci.org/browse/JENKINS-22849
it is turning out to be difficult to make it return 200 to a client even with a reverse proxy in front. Just wanted to know if you'd like to reconsider the decision to support 2xx or at the least, 201?
I wonder how @sectioneight's plugin works around this.
ah, i see!
I got too excited and created D14200
The build step will probably let you configure that eventually, but I don't expect to change that any time in the near future.
@epriestley thanks of the immediate response, looks like jenkins is sending back a 201 Created. I can try to mask it as a 200 but do you think there is value in allowing 2xx status codes on harbormaster's side?
We fail if the server returns an HTTP status other than 200, exactly. Since it's returning a "Location" header, it's probably returning a 3xx status alongside it. The behavior you describe is consistent with the HTTP request returning a non-200 status.
@chad @epriestley got my setup working with sending messages about the builds via 'work' type result to harbormaster.sendmessage but still seeing the build's status as 'Failed' and the same log..
I'm not running any unit tests locally and no unit.engine is specified in my .arcconfig.. is that the reason?
Might also want to check how much memory is available
I think doc regeneration is on a cron script so this should fix itself within 24 hours, or I'll kick it if I'm on the box for some other reason.
Yes, it does.
In T9123#138576, @epriestley wrote:
Is that on Windows?
@chad @epriestley So, before closing this task, I have a question about how exactly harbormaster listens for messages, I have a build plan that makes a post call to jenkins with some parameters, the response (in the message log) appears to be the head response from jenkins server
Server: nginx/1.2.4 2 Date: Wed, 30 Sep 2015 00:36:58 GMT 3 Content-Length: 0 4 Location: http://10.21.42.131/queue/item/72/ 5 Connection: keep-alive 6 X-Content-Type-Options: nosniff 7 Set-Cookie: JSESSIONID.9a9706df=1s6zk8yhj6ggc1wtjv17yqmov0;Path=/;HttpOnly 8 Expires: Thu, 01 Jan 1970 00:00:00 GMT
Sep 29 2015
Does vanilla cygwin include its own PHP?
Experiencing the same problem in 'vanilla' cygwin
We're kinda-sort doing builds for commits now:
I had this same issue because it wasn't clear to me from the example regex's that #/vendor/# wouldn't match a vendor folder that's at the root. Would it make sense to change that 2nd example value (#/autobuilt/#) to something like the modified rule from your comment? #(^|/)autobuilt/#
Anything done on this? I'd like to request a pull to work on this.
I am referring to @matthijsmvs feature request:
I forgot about that. The Windows
mode
command will return the words such as "Columns" per the locale of Windows. So looking for literally "Columns" will only work for the English Windows locales.
@epriestley Ah, I see! I thought there was some error that's not being printed. I was expecting something like "message sent". Thanks for clearing that.
Wow, that was quick. Thanks!
I'm going to close this out since I think everything here is now reasonably represented elsewhere:
I think so. I've tried it out on two dummy repo histories so far, and the outcomes are both good. My real repo is backed up, so I'll try it next.
Here's a similar failure case:
It's possible, but I'd guess they're probably not related if I had to.
Mostly the example you provide is the way I'd prefer them represented (accurately). If people are using the '-' to denote a subproject, that's a different feature request.
Do you have a non-hypothetical example?
D14189 should fix the button.
epriestley, thanks for your quick reply! I should have searched before entering the task, because T9430 which you mention cover exactly the pains we experience.
Oh, never mind -- pretty sure I figured it out.
I'm not immediately able to reproduce that status icon issue, what does the icon say when you hover over it?
Also, the status icon is wrong.
