Skip to content
Snippets Groups Projects
Commit 2eeb6fcd authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg
Browse files

Merge branch 'zj-api-v4' into 'master'

Use APIv4 for verification

See merge request !66
parents cf106eae 768aedec
No related branches found
No related tags found
1 merge request!66Use APIv4 for verification
Pipeline #
require 'net/http'
require 'json'
 
uri = URI.parse 'https://gitlab.com/api/v3/ci/lint'
uri = URI.parse 'https://gitlab.com/api/v4/ci/lint'
 
Dir.glob("#{File.dirname(__FILE__)}/**/*.yml").each do |file|
response = Net::HTTP.post_form(uri, content: File.read(file))
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment