Browse Source

Ajout du JenkinsFile.

CI.

Modif JenkinsFile

Modif.
Paul Florence 1 year ago
parent
commit
439a7382d5
2 changed files with 26 additions and 0 deletions
  1. 2
    0
      Cargo.toml
  2. 24
    0
      Jenkinsfile

+ 2
- 0
Cargo.toml View File

@@ -0,0 +1,2 @@
1
+[workspace]
2
+members=["robot_core","robot_debugger"]

+ 24
- 0
Jenkinsfile View File

@@ -0,0 +1,24 @@
1
+pipeline {
2
+    agent any
3
+	    stages {
4
+		    stage('Build') {
5
+			    steps {
6
+				    echo 'Installing rust'
7
+					    sh 'curl https://sh.rustup.rs -sSf | sh -y'
8
+					    echo 'Building..'
9
+					    sh 'rustc --version'
10
+					    sh 'cargo --version'
11
+			    }
12
+		    }
13
+		    stage('Test') {
14
+			    steps {
15
+				    echo 'Testing..'
16
+			    }
17
+		    }
18
+		    stage('Deploy') {
19
+			    steps {
20
+				    echo 'Deploying....'
21
+			    }
22
+		    }
23
+	    }
24
+}

Loading…
Cancel
Save