Run self-versioning from Dockerhub
This commit is contained in:
		
							
								
								
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@ -18,7 +18,9 @@ pipeline {
 | 
			
		||||
    //Runs versioning in docker container
 | 
			
		||||
    stage('Self Version') {
 | 
			
		||||
      steps {
 | 
			
		||||
        withCredentials([usernamePassword(credentialsId: env.DOCKER_CREDENTIALS, usernameVariable: 'DOCKER_USERNAME', passwordVariable: 'DOCKER_PASSWORD')]) {
 | 
			
		||||
          sh("docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD}")
 | 
			
		||||
        }
 | 
			
		||||
        runAutoSemver("rbnops/auto-semver:${SELF_SEMVER_TAG}")
 | 
			
		||||
      }
 | 
			
		||||
      post{
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user