Setup a work environment for the lessons provided in this workshop. Ask the instructor for the URL of the server you will be using during the workshop.
Today's URL for the CloudBees Core environment is https://workshop.cb-sa.io/cjoc/
- Goto to the Workshop URL provided by the instructor;
- Click on the create an account link in the middle above the Username input.
- Complete the Create an account! form (all fields are required) and click the Create account button; IMPORTANT: to ensure uniqueness, use {your GitHub username} as Username for Jenkins account
- You should see a Success page - click on the top page link;
Next, everyone will get their own Jenkins masters referred to as a Team Master.
- If not in CloudBees Team UI, click on the Teams link in the left menu;
- Click on the Create team button in the center of your screen;
- Name this team - enter a name for your team - IMPORTANT: to ensure uniqueness, use {your GitHub username} and then click Next;
- Choose an icon for this team to help uniquely identify your team - select an icon and color for your team and then click Next;
- Add people to this team - your user will show up as a Team Admin and we won't be adding any additional users right now, but feel free to look around and then click Next;
- Select team master creation recipe - click on the drop-down to see the options, but select the top option: Workshop Default recipe;
- Finally, click the Create team button.
- While your master is being created (it takes anywhere from 2-3 minutes to provision your Team Master), move onto the next section Create a GitHub.com user account
Setup a GitHub.com user account that will be used later in this workshop. If you have an existing GitHub.com account you will be able to use it if you are comfortable using that account to create a GitHub Organization later in the workshop.
- Visit https://github.com/join and fill in the required fields to create a user account.
- Select "Unlimited public repositories for free" when choosing your plan.
- Verify your email account to ensure you account is activated. An activated account will be required in the next few exercises.
The following instructions cover how to create a Github Personal Access Token that you will use within Jenkins to connect Pipelines, Multibranch Pipelines, and Github Organization Projects to your Github repositories.
- Click on this link to automatically select the required Personal access token settings
- Click on Generate Token
- As the success message says: Make sure to copy your new personal access token now. You won’t be able to see it again!
Create a Github organization to use for this workshop:
- On Github navigate to Organizations: https://github.com/settings/organizations (after logging in)
- Click on New Organization
- Fill in the Organization Name, Billing Email, and click on Create Organization - IMPORTANT: Suggest using {your GitHub username}-devoptics as Organization Name
- On the Invite organization members - just click the Finish button.
NOTE: Even though you have to provide an email for billing, you will not be charged anything as long as you choose the free option.
The workshop utilizes the helloapp-nodejs repository from the CloudBees DWJW GitHub Organization. Fork the helloapp-nodejs and helloapp-api repositories into the GitHub Organization that you created above (if you are not sure how to fork a repository - see this GitHub Guide on forking):
- https://github.com/cloudbees-days/helloapp-api
- https://github.com/cloudbees-days/helloapp-nodejs
You should see the following Create a new Pipeline screen for your Team:
You may proceed to the labs - once you have successfully completed the setup.