Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
ksyun-CICD-test
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 478a6c12
authored
4 years ago
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
1 parent
f425e13d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
Jenkinsfile
Jenkinsfile
View file @
478a6c1
def label = "mypod-${UUID.randomUUID().toString()}"
def label = "mypod-${UUID.randomUUID().toString()}"
podTemplate(label: label, cloud: 'kubernetes') {
podTemplate(label: label, cloud: 'kubernetes') {
node('
$DEPLOY_ENV
-pod-template') {
node('
private
-pod-template') {
stage('Clone') {
stage('Clone') {
echo "开始下载autodl项目代码"
echo "开始下载autodl项目代码"
git url: "https://tingweiwang@gitlab.seetatech.com/tingweiwang/ksyun-CICD-test.git"
git url: "https://tingweiwang@gitlab.seetatech.com/tingweiwang/ksyun-CICD-test.git"
...
@@ -8,7 +8,8 @@ node('$DEPLOY_ENV-pod-template') {
...
@@ -8,7 +8,8 @@ node('$DEPLOY_ENV-pod-template') {
stage('go test') {
stage('go test') {
sh "go version"
sh "go version"
}
}
stage('') {
stage('test var') {
sh "echo $WORKSPACE"
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment