Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Distinguish CI command runs #3646

Merged
merged 4 commits into from
May 16, 2015
Merged

Distinguish CI command runs #3646

merged 4 commits into from
May 16, 2015

Conversation

fotanus
Copy link
Contributor

@fotanus fotanus commented May 14, 2015

This patch add CI information on the user_agent in order for us to track
if a given command was run by a CI, as discussed in #3233.

This patch add CI information on the user_agent in order for us to track
if a given command was run by a CI, as discussed in rubygems#3233.

describe "include CI information" do
it "from one CI" do
ENV["JENKINS_URL"] = "foo"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this ENV should be cleaned

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! Thanks!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be better to keep and reassign old value (instead of forcing nil).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course! Silly me!

@fotanus
Copy link
Contributor Author

fotanus commented May 15, 2015

Can I have this job on travis run again? I just tried locally and it worked with ruby 2.2.2. Looking at the travis log, it seems like a transient error. It have messages like this:

Could not fetch specs from file:/home/travis/build/bundler/bundler/tmp/gems/remote2/

@indirect
Copy link
Member

restarted the build, I think it was failing because RubyGems master was broken

@fotanus
Copy link
Contributor Author

fotanus commented May 15, 2015

@indirect Thank you!

@indirect
Copy link
Member

Thanks!

indirect added a commit that referenced this pull request May 16, 2015
Distinguish CI command runs
@indirect indirect merged commit 4c6d315 into rubygems:master May 16, 2015
@coilysiren coilysiren modified the milestone: Release Archive Oct 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants