Sha256: 90f91f223b19100f8bff03e827d49a39bff73fe9cef97c4ad8952c6fba6b090f
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
dir('<%= package_dir %>') { <% if patch %> if (fileExists('.git')) { sh "${autoproj} unpatch ." } <% end %> <% if credentials arg_credentials = "credentialsId: '#{credentials.jenkins_id}', " end %> <%= vcs.type %> poll: poll, <%= arg_credentials %> <%= Hash[url: vcs.url].merge(vcs.options).map { |k, v| "#{k}: '#{v}'" }.join(", ") %> <% if patch %> sh "${autoproj} patch ." <% end %> }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
autoproj-jenkins-0.3.2 | lib/autoproj/jenkins/templates/import-git.pipeline.erb |