It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

When i tried to run Pipelines build getting error: Edited

When i tried to run Pipelines build file **bitbucket-pipelines.yml** with following code getting error:

image: maven:3.6.1
definitions:
steps:
- step: &build-test
name: Build and test
script:
- apt-get update
#- cat /etc/os-release
- apt-get install apt-transport-https
- wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
- mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
- wget -q https://packages.microsoft.com/config/debian/9/prod.list
- mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
- chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
- chown root:root /etc/apt/sources.list.d/microsoft-prod.list
- apt-get install -y apt-transport-https
- apt-get update
- apt-get install -y dotnet-sdk-2.2
- curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
- mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
- apt-get update
- apt-get install -y azure-functions-core-tools
- apt-get update && apt-get install zip

pipelines:
branches:
release/*:
- step: *build-test


**Error is:**
+ apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Get:5 https://packages.microsoft.com/debian/9/prod stretch InRelease [4023 B]
Err:5 https://packages.microsoft.com/debian/9/prod stretch InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,573 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you