You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
image: atlassian/default-image:1.363
definitions:
branches:
feature/ION-565-dotnet-autodeploy:
- step: &dotnet-framework
name: Build dotnet
runs-on:
- self.hosted
- windows
clone:
enabled: true
script:
- msbuild modules/test.sln
- Compress-Archive * app.zip
artifacts:
- app.zip
- step: &upload-to-s3
name: Upload to S3
services:
- docker
script:
- pipe: atlassian/aws-code-deploy:0.2.10
variables:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
COMMAND: 'upload'
APPLICATION_NAME: $APPLICATION_NAME
ZIP_FILE: 'app.zip'
pipelines:
branches:
feature/ION-565-dotnet-autodeploy:
- step:
<<: *dotnet-framework
name: Build dotnet for Sandbox
deployment: sandbox
trigger: automatic
- step:
<<: *upload-to-s3
name: Upload to S3 for Sandbox
trigger: automatic
can anyone help me with my pipeline. I am just learning butbucket pipeline and I am using windows runner. please share your knowledge
@Abu Bakir Uralov hi. Look at the example below of how to use anchors:
image: name: atlassian/default-image:3 test: &test parallel: - step: name: Build and Test image: python:3.7 script: - services: - docker - step: name: Lint the Dockerfile image: hadolint/hadolint:latest-debian script: - hadolint Dockerfile push: &push step: name: Push and Tag image: python:3.7 script: - pipe: atlassian/bitbucket-pipe-release:5.0.1 services: - docker pipelines: default: - <<: *test branches: master: - <<: *test - <<: *push
Or you can check this page: yaml anchors.
Regards, Igor
Thank you Igor. I was working on runner for windows. Do you have any idea about bitbucket pipeline runner?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Abu Bakir Uralov hi. You can check this articles for windows runners:
blog-windows-runners , set-up-runners-for-windows .
Regards, Igor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.