Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

When i tried to run Pipelines build getting error:

VINODA KUMAR R October 11, 2019

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
AUG Leaders

Atlassian Community Events