credentials
This commit is contained in:
parent
6fb554b5d6
commit
106adb539a
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -14,11 +14,12 @@ node {
|
|||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
stage ('Checkout'){
|
stage ('Checkout'){
|
||||||
//git branch: 'refs/heads/Dev', url: 'https://github.com/github.com:Hion-V/hForumPHP.git'
|
git([url: 'git@github.com:Hion-V/hForumPHP.git', branch: 'Dev', credentialsId: '5b510e82-81b9-4758-8263-0601f9c11e43'])
|
||||||
echo env.BRANCH_NAME
|
|
||||||
}
|
}
|
||||||
stage('prepare') {
|
stage('prepare') {
|
||||||
sh '''
|
sh '''
|
||||||
|
#git clone git@github.com:Hion-V/hForumPHP.git
|
||||||
|
#git -C ./hForumPHP/ checkout Dev
|
||||||
git clone git@github.com:Hion-V/jenkins-testapache.git
|
git clone git@github.com:Hion-V/jenkins-testapache.git
|
||||||
cp -r hForumPHP/dev_mvc jenkins-testapache/app
|
cp -r hForumPHP/dev_mvc jenkins-testapache/app
|
||||||
'''
|
'''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user