Sha256: b3452b6d1554b40d46e736b621b13a35ce1531a1d6adcd781e7707278bd20304

Contents?: true

Size: 1.17 KB

Versions: 11

Compression:

Stored size: 1.17 KB

Contents

env.HOME = fullWorkspaceDir
<% if autoproj_install_path %>
sh 'cp -f "<%= autoproj_install_path %>" ./autoproj_install'
<% else %>
sh 'wget -O autoproj_install https://raw.githubusercontent.com/rock-core/autoproj/master/bin/autoproj_install'
<% end %>
def gemfile = "<%= read_and_escape_file gemfile %>"
writeFile file: 'Gemfile', text: gemfile
def config = "<%= render_template('buildconf-config.yml', vcs: vcs, escape: true) %>"
writeFile file: 'seed.yml', text: config
dir('dev') {
    sh "ruby ../autoproj_install --skip-stage2 --seed-config=../seed.yml --gems-path=${env.JENKINS_HOME}/cache/gems --gemfile=../Gemfile"
    <%= render_template("import-#{vcs.type}.pipeline",
                        poll: poll,
                        patch: false,
                        allow_unused: true,
                        package_dir: 'autoproj',
                        vcs: vcs,
                        credentials: vcs_credentials.for(vcs),
                        package_name: 'autoproj/') %>

    <%= render_template('setup-git-credentials.pipeline', credentials: vcs_credentials[:git]) %>
    sh ".autoproj/bin/aup autoproj/ --force-reset"
}

env.AUTOPROJ_CURRENT_ROOT = "${fullWorkspaceDir}/dev"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
autoproj-jenkins-0.3.12 lib/autoproj/jenkins/templates/bootstrap.pipeline.erb
autoproj-jenkins-0.3.11 lib/autoproj/jenkins/templates/bootstrap.pipeline.erb
autoproj-jenkins-0.3.10 lib/autoproj/jenkins/templates/bootstrap.pipeline.erb
autoproj-jenkins-0.3.9 lib/autoproj/jenkins/templates/bootstrap.pipeline.erb
autoproj-jenkins-0.3.8 lib/autoproj/jenkins/templates/bootstrap.pipeline.erb
autoproj-jenkins-0.3.7 lib/autoproj/jenkins/templates/bootstrap.pipeline.erb
autoproj-jenkins-0.3.6 lib/autoproj/jenkins/templates/bootstrap.pipeline.erb
autoproj-jenkins-0.3.5 lib/autoproj/jenkins/templates/bootstrap.pipeline.erb
autoproj-jenkins-0.3.4 lib/autoproj/jenkins/templates/bootstrap.pipeline.erb
autoproj-jenkins-0.3.3 lib/autoproj/jenkins/templates/bootstrap.pipeline.erb
autoproj-jenkins-0.3.2 lib/autoproj/jenkins/templates/bootstrap.pipeline.erb