Started by user project-regular
Replayed #1
Connecting to https://api.github.com using /******
Obtained Jenkinsfile-online from d4fde2c8b728d4a4a80616ec87cf04ea2f6c7373
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘maven’
Agent maven-7hlw4 is provisioned from template Kubernetes Pod Template
apiVersion: “v1”
kind: “Pod”
metadata:
annotations: {}
labels:
jenkins: “slave”
jenkins/maven: “true”
name: “maven-7hlw4”
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- preference:
matchExpressions:
- key: “node-role.kubernetes.io/worker”
operator: “In”
values:
- “ci”
weight: 1
containers:
- args:
- “********”
- “maven-7hlw4”
command:
- “jenkins-slave”
env:
- name: “JENKINS_SECRET”
value: “********”
- name: “JENKINS_TUNNEL”
value: “ks-jenkins-agent.kubesphere-devops-system:50000”
- name: “JENKINS_AGENT_NAME”
value: “maven-7hlw4”
- name: “JENKINS_NAME”
value: “maven-7hlw4”
- name: “JENKINS_AGENT_WORKDIR”
value: “/home/jenkins/agent”
- name: “JENKINS_URL”
value: “http://ks-jenkins.kubesphere-devops-system:80/”
image: “jenkins/jnlp-slave:3.27-1”
imagePullPolicy: “IfNotPresent”
name: “jnlp”
resources:
limits:
memory: “1536Mi”
requests:
memory: “400Mi”
cpu: “50m”
securityContext:
privileged: false
tty: false
volumeMounts:
- mountPath: “/root/.sonar/cache”
name: “volume-2”
readOnly: false
- mountPath: “/root/.m2”
name: “volume-1”
readOnly: false
- mountPath: “/var/run/docker.sock”
name: “volume-0”
readOnly: false
- mountPath: “/home/jenkins/agent”
name: “workspace-volume”
readOnly: false
- command:
- “cat”
image: “kubesphere/builder-maven:v2.1.0”
imagePullPolicy: “IfNotPresent”
name: “maven”
resources:
limits:
ephemeral-storage: “10Gi”
memory: “8192Mi”
cpu: “4000m”
requests:
ephemeral-storage: “1Gi”
memory: “100Mi”
cpu: “100m”
securityContext:
privileged: false
tty: true
volumeMounts:
- mountPath: “/opt/apache-maven-3.5.3/conf/settings.xml”
name: “config-volume”
subPath: “settings.xml”
- mountPath: “/root/.sonar/cache”
name: “volume-2”
readOnly: false
- mountPath: “/root/.m2”
name: “volume-1”
readOnly: false
- mountPath: “/var/run/docker.sock”
name: “volume-0”
readOnly: false
- mountPath: “/home/jenkins/agent”
name: “workspace-volume”
readOnly: false
workingDir: “/home/jenkins/agent”
nodeSelector: {}
restartPolicy: “Never”
securityContext:
fsGroup: 1000
tolerations:
- effect: “NoSchedule”
key: “node.kubernetes.io/ci”
operator: “Exists”
- effect: “PreferNoSchedule”
key: “node.kubernetes.io/ci”
operator: “Exists”
volumes:
- hostPath:
path: “/var/run/docker.sock”
name: “volume-0”
- hostPath:
path: “sonar_cache”
name: “volume-2”
- hostPath:
path: “jenkins_maven_cache”
name: “volume-1”
- emptyDir:
medium: ""
name: “workspace-volume”
- configMap:
items:
- key: “MavenSetting”
path: “settings.xml”
name: “ks-devops-agent”
name: “config-volume”
Running on maven-7hlw4 in /home/jenkins/agent/workspace/jtt_jenkinsfile-in-scm_sonarqube
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential github-4e6afd-hgoxy
Cloning the remote Git repository
Honoring refspec on initial clone
Cloning repository https://github.com/outlook008/devops-java-sample.git
git init /home/jenkins/agent/workspace/jtt_jenkinsfile-in-scm_sonarqube # timeout=10
Fetching upstream changes from https://github.com/outlook008/devops-java-sample.git
git –version # timeout=10
using GIT_ASKPASS to set credentials
git fetch –tags –progress https://github.com/outlook008/devops-java-sample.git +refs/heads/sonarqube:refs/remotes/origin/sonarqube # timeout=20
Checking out Revision d4fde2c8b728d4a4a80616ec87cf04ea2f6c7373 (sonarqube)
git config remote.origin.url https://github.com/outlook008/devops-java-sample.git # timeout=10
git config –add remote.origin.fetch +refs/heads/sonarqube:refs/remotes/origin/sonarqube # timeout=10
git config remote.origin.url https://github.com/outlook008/devops-java-sample.git # timeout=10
Fetching upstream changes from https://github.com/outlook008/devops-java-sample.git
using GIT_ASKPASS to set credentials
git fetch –tags –progress https://github.com/outlook008/devops-java-sample.git +refs/heads/sonarqube:refs/remotes/origin/sonarqube # timeout=20
git config core.sparsecheckout # timeout=10
git checkout -f d4fde2c8b728d4a4a80616ec87cf04ea2f6c7373
Commit message: “Update Jenkinsfile-online”
First time build. Skipping changelog.
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout scm)
[Pipeline] checkout
using credential github-4e6afd-hgoxy
Fetching changes from the remote Git repository
git rev-parse –is-inside-work-tree # timeout=10
git config remote.origin.url https://github.com/outlook008/devops-java-sample.git # timeout=10
Fetching upstream changes from https://github.com/outlook008/devops-java-sample.git
git –version # timeout=10
using GIT_ASKPASS to set credentials
git fetch –tags –progress https://github.com/outlook008/devops-java-sample.git +refs/heads/sonarqube:refs/remotes/origin/sonarqube # timeout=20
Checking out Revision d4fde2c8b728d4a4a80616ec87cf04ea2f6c7373 (sonarqube)
git config core.sparsecheckout # timeout=10
git checkout -f d4fde2c8b728d4a4a80616ec87cf04ea2f6c7373
Commit message: “Update Jenkinsfile-online”
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (unit test)
[Pipeline] container
[Pipeline] {
[Pipeline] sh
++ pwd
- mvn clean -gs /home/jenkins/agent/workspace/jtt_jenkinsfile-in-scm_sonarqube/configuration/settings.xml test
[INFO] Scanning for projects…
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-parent/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot-starter-parent/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-parent/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starter-parent:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-parent/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starter-parent:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-parent/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot-dependencies/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-dependencies/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-dependencies/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-dependencies:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-dependencies/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-dependencies:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-dependencies/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-dependencies:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-dependencies:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-dependencies/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-dependencies:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-dependencies:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-dependencies/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[INFO]
[INFO] —————–< io.kubesphere.devops:devops-sample >—————–
[INFO] Building devops-sample :: HelloWorld Demo 0.0.1-SNAPSHOT
[INFO] ——————————–[ jar ]———————————
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot-maven-plugin/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-maven-plugin/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-maven-plugin/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-maven-plugin:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-maven-plugin/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-maven-plugin:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-maven-plugin/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-maven-plugin:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-maven-plugin:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-maven-plugin/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-maven-plugin:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-maven-plugin:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-maven-plugin/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot-tools/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-tools/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-tools/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-tools:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-tools/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-tools:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-tools/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot-parent/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-parent/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-parent/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-parent:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-parent/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-parent:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-parent/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-dependencies:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-dependencies:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-dependencies/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-dependencies:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-dependencies:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-dependencies/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot-starter-web/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-web/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-web/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starter-web:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-web/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starter-web:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-web/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-starter-web:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-starter-web:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-web/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-starter-web:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-starter-web:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-web/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot-starters/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starters/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starters/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starters:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starters/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starters:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starters/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot-starter/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starter:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starter:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-starter:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-starter:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-starter:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-starter:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot-autoconfigure/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-autoconfigure/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-autoconfigure/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-autoconfigure:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-autoconfigure/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-autoconfigure:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-autoconfigure/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-autoconfigure:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-autoconfigure:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-autoconfigure/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-autoconfigure:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-autoconfigure:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-autoconfigure/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot-starter-logging/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-logging/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-logging/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starter-logging:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-logging/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starter-logging:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-logging/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-starter-logging:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-starter-logging:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-logging/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-starter-logging:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-starter-logging:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-logging/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
Downloading from spring-milestones: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-tomcat/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from repo.jenkins-ci.org: https://repo.jenkins-ci.org/public/org/springframework/boot/spring-boot-starter-tomcat/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
Downloading from spring-snapshots: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-tomcat/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starter-tomcat:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-tomcat/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Could not transfer metadata org.springframework.boot:spring-boot-starter-tomcat:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-tomcat/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-starter-tomcat:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/snapshot was cached in the local repository, resolution will not be reattempted until the update interval of spring-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-starter-tomcat:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-snapshots (http://repo.spring.io/snapshot): Access denied to: http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-starter-tomcat/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[WARNING] Failure to transfer org.springframework.boot:spring-boot-starter-tomcat:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from http://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced. Original error: Could not transfer metadata org.springframework.boot:spring-boot-starter-tomcat:1.4.1.BUILD-SNAPSHOT/maven-metadata.xml from/to spring-milestones (http://repo.spring.io/milestone): Access denied to: http://repo.spring.io/milestone/org/springframework/boot/spring-boot-starter-tomcat/1.4.1.BUILD-SNAPSHOT/maven-metadata.xml , ReasonPhrase:Forbidden.
[INFO]
[INFO] — maven-clean-plugin:2.6.1:clean (default-clean) @ devops-sample —
[INFO]
[INFO] — jacoco-maven-plugin:0.8.2:prepare-agent (agent-for-ut) @ devops-sample —
[INFO] argLine set to -javaagent:/home/jenkins/agent/workspace/jtt_jenkinsfile-in-scm_sonarqube/artifacts/m2/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2-runtime.jar=destfile=/home/jenkins/agent/workspace/jtt_jenkinsfile-in-scm_sonarqube/target/jacoco.exec,append=true
[INFO]
[INFO] — maven-resources-plugin:2.6:resources (default-resources) @ devops-sample —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/jtt_jenkinsfile-in-scm_sonarqube/src/main/resources
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/jtt_jenkinsfile-in-scm_sonarqube/src/main/resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ devops-sample —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/jenkins/agent/workspace/jtt_jenkinsfile-in-scm_sonarqube/target/classes
[INFO]
[INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ devops-sample —
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/jtt_jenkinsfile-in-scm_sonarqube/src/test/resources
[INFO]
[INFO] — maven-compiler-plugin:3.1:testCompile (default-testCompile) @ devops-sample —
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/jenkins/agent/workspace/jtt_jenkinsfile-in-scm_sonarqube/target/test-classes
[INFO]
[INFO] — maven-surefire-plugin:2.18.1:test (default-test) @ devops-sample —
[INFO] Surefire report directory: /home/jenkins/agent/workspace/jtt_jenkinsfile-in-scm_sonarqube/target/surefire-reports
T E S T S
Running io.kubesphere.devops.HelloWorldControllerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in io.kubesphere.devops.HelloWorldControllerTest
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] ————————————————————————
[INFO] Total time: 56.080 s
[INFO] Finished at: 2020-12-31T02:34:32Z
[INFO] ————————————————————————
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (sonarqube analysis)
[Pipeline] container
[Pipeline] {
[Pipeline] withCredentials
Masking only exact matches of $SONAR_TOKEN
[Pipeline] {
[Pipeline] withSonarQubeEnv
[Pipeline] // withSonarQubeEnv
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (build & push)
Stage “build & push” skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (push latest)
Stage “push latest” skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (deploy to dev)
Stage “deploy to dev” skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (push with tag)
Stage “push with tag” skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (deploy to production)
Stage “deploy to production” skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
GitHub has been notified of this commit’s build result
ERROR: SonarQube installation defined in this job (sonar) does not match any configured installation. Number of installations that can be configured: 0.
If you want to reassign jobs to a different SonarQube installation, check the documentation under https://redirect.sonarsource.com/plugins/jenkins.html
Finished: FAILURE
运行到sonarqube analysis 阶段失败