Changed package publishing on git.reslate.systems back to username and password authentication
This commit is contained in:
		
							
								
								
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -33,10 +33,10 @@ pipeline {
 | 
				
			|||||||
            parallel {
 | 
					            parallel {
 | 
				
			||||||
                stage ("git.reslate.systems") {
 | 
					                stage ("git.reslate.systems") {
 | 
				
			||||||
                    environment {
 | 
					                    environment {
 | 
				
			||||||
                        TOKEN = credentials('git.reslate.systems')
 | 
					                        CREDS = credentials('username-password-rs-git')
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    steps {
 | 
					                    steps {
 | 
				
			||||||
                        sh returnStatus: true, script: 'python -m twine upload --repository-url https://git.reslate.systems/api/packages/ydeng/pypi -u __token__ -p ${TOKEN} --non-interactive --disable-progress-bar --verbose dist/*'
 | 
					                        sh returnStatus: true, script: 'python -m twine upload --repository-url https://git.reslate.systems/api/packages/ydeng/pypi -u ${CREDS_USR} -p ${CREDS__PSW} --non-interactive --disable-progress-bar --verbose dist/*'
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                stage ("pypi.org") {
 | 
					                stage ("pypi.org") {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user