alair 4 mesiacov pred
rodič
commit
f6f4d3f4fc

+ 1 - 1
Jenkinsfile

@@ -12,7 +12,7 @@ pipeline{
     stages {
         stage('拉取git仓库代码') {
             steps {
-                checkout scmGit(branches: [[name: '${tag}']], extensions: [], userRemoteConfigs: [[credentialsId: 'ef3dc13b-dfb3-4c7a-932d-af43fd8e0fa0', url: 'http://10.244.0.5:8418/alair/myTest.git']])
+                checkout scmGit(branches: [[name: '${tag}']], extensions: [], userRemoteConfigs: [[credentialsId: 'ef3dc13b-dfb3-4c7a-932d-af43fd8e0fa0', url: 'http://192.168.0.5:13000/alair/myTest.git']])
             }
         }
         stage('通过maven构建项目') {

+ 1 - 1
pipeline.yaml

@@ -17,7 +17,7 @@ spec:
     spec:
       containers:
         - name: pipleline
-          image: 192.168.0.5:9080/repo/pipeline:v7.0.0
+          image: 192.168.0.5:9080/repo/pipeline:v1.0.0
           imagePullPolicy: Always
           ports:
             - containerPort: 8080

+ 1 - 1
src/main/java/com/autumn/mytest/controller/TestController.java

@@ -8,6 +8,6 @@ public class TestController {
 
     @GetMapping("/test")
     public String test() {
-        return "Hello Jenkins! - v7.0.0";
+        return "Hello Jenkins! - v1.0.0";
     }
 }