This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.michelin.cio.hudson.plugins.rolestrategy.Role; | |
import com.michelin.cio.hudson.plugins.rolestrategy.RoleMap; | |
import com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy; | |
import jenkins.model.Jenkins; | |
import hudson.model.Result; | |
import hudson.EnvVars; | |
final String ROLE_PREFIX="sudo_"; | |
EnvVars vars = build.getEnvironment(listener); | |
final String userName=vars .get("BUILD_USER_ID"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Easy Setup Locally using Kitchen/SSH Driver | |
# | |
# Following the Steps on the README.md | |
# => https://github.com/opscode-cookbooks/delivery-cluster#easy-setup | |
# | |
# 1) Download your Delivery license key | |
# => I have already my Delivery License locally. Get one with your Chef Rep. :) | |
# | |
# 2) Provisioning infrastructure [SSH/Kitchen] |